tor-browser

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

commit 2f67a4b53a71b86aee6691f0b8aa29681abd27b7
parent 45387a99a5f0744e0c768f31dc255cf151455a44
Author: Kagami Sascha Rosylight <krosylight@proton.me>
Date:   Sat, 29 Nov 2025 18:32:22 +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;