tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 153cd95271ed3f17e6a870ed93565ab5aa582178
parent e36669b3f824da899ed6a3e580935797a9635021
Author: Kagami Sascha Rosylight <krosylight@proton.me>
Date:   Sat, 29 Nov 2025 11:01:37 +0000

Bug 1369833 - Part 3: Remove unused showAlertNotification in dom/notification/test r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D273195

Diffstat:
Mdom/notification/test/chrome/test_notification_system_principal.xhtml | 4----
Mdom/notification/test/mochitest/MockAlertsService.js | 19-------------------
Mdom/notification/test/mochitest/test_notification_tag.html | 12------------
3 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/dom/notification/test/chrome/test_notification_system_principal.xhtml b/dom/notification/test/chrome/test_notification_system_principal.xhtml @@ -30,10 +30,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=874090 SimpleTest.finish(); }, - showAlertNotification() { - this.showAlert(); - }, - QueryInterface: ChromeUtils.generateQI(["nsIAlertsService"]), createInstance(aIID) { diff --git a/dom/notification/test/mochitest/MockAlertsService.js b/dom/notification/test/mochitest/MockAlertsService.js @@ -51,25 +51,6 @@ function mockServicesChromeScript() { } }, - showAlertNotification( - imageUrl, - title, - text, - textClickable, - cookie, - alertListener, - name - ) { - this.showAlert( - { - name, - cookie, - title, - }, - alertListener - ); - }, - closeAlert(name) { let alertNotification = activeNotifications[name]; if (alertNotification) { diff --git a/dom/notification/test/mochitest/test_notification_tag.html b/dom/notification/test/mochitest/test_notification_tag.html @@ -84,18 +84,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=782211 } }, - showAlertNotification( - imageUrl, - title, - text, - textClickable, - cookie, - alertListener, - name - ) { - this.showAlert({ name }); - }, - QueryInterface(aIID) { if (aIID.equals(Ci.nsISupports) || aIID.equals(Ci.nsIAlertsService)) { return this;