diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /dom/notification/test/mochitest | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/notification/test/mochitest')
3 files changed, 4 insertions, 7 deletions
diff --git a/dom/notification/test/mochitest/NotificationTest.js b/dom/notification/test/mochitest/NotificationTest.js index 400ff56253..8593125389 100644 --- a/dom/notification/test/mochitest/NotificationTest.js +++ b/dom/notification/test/mochitest/NotificationTest.js @@ -75,7 +75,7 @@ var NotificationTest = (function () { ); }, - clickNotification(notification) { + clickNotification() { // TODO: how?? }, diff --git a/dom/notification/test/mochitest/test_notification_basics.html b/dom/notification/test/mochitest/test_notification_basics.html index 3dde839a96..ba2bd09174 100644 --- a/dom/notification/test/mochitest/test_notification_basics.html +++ b/dom/notification/test/mochitest/test_notification_basics.html @@ -68,7 +68,7 @@ Notification.requestPermission({}) .then(_ => { ok(false, "Non callable arg to requestPermission should reject promise"); - }, err => { + }, () => { ok(true, "Non callable arg to requestPermission should reject promise"); }) .then(done); 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 }); }, |