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 /browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs | |
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 'browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs')
-rw-r--r-- | browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs b/browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs index d8eaa3994d..fb4680085c 100644 --- a/browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs +++ b/browser/components/asrouter/modules/ASRouterTriggerListeners.sys.mjs @@ -446,7 +446,7 @@ export const ASRouterTriggerListeners = new Map([ } }, - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { if (aSubject.currentURI.asciiHost === "accounts.firefox.com") { // Don't notify about saved logins on the FxA login origin since this // trigger is used to promote login Sync and getting a recommendation @@ -562,7 +562,7 @@ export const ASRouterTriggerListeners = new Map([ _sessionPageLoad: 0, onLocationChange: null, - init(triggerHandler, params, patterns) { + init(triggerHandler, params) { params.forEach(p => this._events.push(p)); if (!this._initialized) { @@ -610,7 +610,7 @@ export const ASRouterTriggerListeners = new Map([ this._sessionPageLoad = 0; }, - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { switch (aTopic) { case "SiteProtection:ContentBlockingEvent": const { browser, host, event } = aSubject.wrappedJSObject; @@ -690,7 +690,7 @@ export const ASRouterTriggerListeners = new Map([ this._triggerHandler = triggerHandler; }, - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { switch (aTopic) { case "captive-portal-login-success": const browser = Services.wm.getMostRecentBrowserWindow(); |