summaryrefslogtreecommitdiffstats
path: root/dom/notification/test/mochitest/test_notification_tag.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/notification/test/mochitest/test_notification_tag.html')
-rw-r--r--dom/notification/test/mochitest/test_notification_tag.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/dom/notification/test/mochitest/test_notification_tag.html b/dom/notification/test/mochitest/test_notification_tag.html
index f4fc72bbe3..d2bc15418e 100644
--- a/dom/notification/test/mochitest/test_notification_tag.html
+++ b/dom/notification/test/mochitest/test_notification_tag.html
@@ -32,7 +32,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=782211
var notificationsCreated = [];
const mockAlertsService = {
- showAlert(alert, alertListener) {
+ showAlert(alert) {
notificationsCreated.push(alert.name);
if (notificationsCreated.length == 3) {
// notifications created by the test1 origin
@@ -78,10 +78,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=782211
textClickable,
cookie,
alertListener,
- name,
- dir,
- lang,
- data
+ name
) {
this.showAlert({ name });
},