summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/parent/ext-captivePortal.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /toolkit/components/extensions/parent/ext-captivePortal.js
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-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 'toolkit/components/extensions/parent/ext-captivePortal.js')
-rw-r--r--toolkit/components/extensions/parent/ext-captivePortal.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/components/extensions/parent/ext-captivePortal.js b/toolkit/components/extensions/parent/ext-captivePortal.js
index 547abaa594..e703f074f5 100644
--- a/toolkit/components/extensions/parent/ext-captivePortal.js
+++ b/toolkit/components/extensions/parent/ext-captivePortal.js
@@ -55,7 +55,7 @@ this.captivePortal = class extends ExtensionAPIPersistent {
onStateChanged({ fire }) {
this.checkCaptivePortalEnabled();
- let observer = (subject, topic) => {
+ let observer = () => {
fire.async({ state: this.nameForCPSState(gCPS.state) });
};
@@ -70,7 +70,7 @@ this.captivePortal = class extends ExtensionAPIPersistent {
"ipc:network:captive-portal-set-state"
);
},
- convert(_fire, context) {
+ convert(_fire) {
fire = _fire;
},
};
@@ -90,13 +90,13 @@ this.captivePortal = class extends ExtensionAPIPersistent {
"network:captive-portal-connectivity"
);
},
- convert(_fire, context) {
+ convert(_fire) {
fire = _fire;
},
};
},
"captiveURL.onChange": ({ fire }) => {
- let listener = (text, id) => {
+ let listener = () => {
fire.async({
levelOfControl: "not_controllable",
value: Services.prefs.getStringPref(CAPTIVE_URL_PREF),
@@ -107,7 +107,7 @@ this.captivePortal = class extends ExtensionAPIPersistent {
unregister: () => {
Services.prefs.removeObserver(CAPTIVE_URL_PREF, listener);
},
- convert(_fire, context) {
+ convert(_fire) {
fire = _fire;
},
};