summaryrefslogtreecommitdiffstats
path: root/toolkit/components/utils
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/utils
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/utils')
-rw-r--r--toolkit/components/utils/ClientEnvironment.sys.mjs2
-rw-r--r--toolkit/components/utils/SimpleServices.sys.mjs2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/utils/ClientEnvironment.sys.mjs b/toolkit/components/utils/ClientEnvironment.sys.mjs
index 1c6bbfbaba..64fb6da9e1 100644
--- a/toolkit/components/utils/ClientEnvironment.sys.mjs
+++ b/toolkit/components/utils/ClientEnvironment.sys.mjs
@@ -76,7 +76,7 @@ export class ClientEnvironmentBase {
}
return new Proxy(target, {
- get(target, prop, receiver) {
+ get(target, prop) {
if (prop == "main") {
return target.main;
}
diff --git a/toolkit/components/utils/SimpleServices.sys.mjs b/toolkit/components/utils/SimpleServices.sys.mjs
index a69388435c..7c872cc7a6 100644
--- a/toolkit/components/utils/SimpleServices.sys.mjs
+++ b/toolkit/components/utils/SimpleServices.sys.mjs
@@ -103,7 +103,7 @@ AddonLocalizationConverter.prototype = {
this.listener = aListener;
},
- onStartRequest(aRequest) {
+ onStartRequest() {
this.parts = [];
this.decoder = new TextDecoder();
},