summaryrefslogtreecommitdiffstats
path: root/dom/notification/test/chrome/test_notification_system_principal.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/notification/test/chrome/test_notification_system_principal.xhtml')
-rw-r--r--dom/notification/test/chrome/test_notification_system_principal.xhtml5
1 files changed, 2 insertions, 3 deletions
diff --git a/dom/notification/test/chrome/test_notification_system_principal.xhtml b/dom/notification/test/chrome/test_notification_system_principal.xhtml
index 0700d59338..c563a817a8 100644
--- a/dom/notification/test/chrome/test_notification_system_principal.xhtml
+++ b/dom/notification/test/chrome/test_notification_system_principal.xhtml
@@ -23,14 +23,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=874090
const ALERTS_SERVICE_CONTRACT_ID = "@mozilla.org/alerts-service;1";
var mockAlertsService = {
- showAlert(alert, alertListener) {
+ showAlert() {
ok(true, "System principal was granted permission and is able to call showAlert.");
unregisterMock();
SimpleTest.finish();
},
- showAlertNotification(imageUrl, title, text, textClickable,
- cookie, alertListener, name, dir, lang, data) {
+ showAlertNotification() {
this.showAlert();
},