summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/ExtensionDNR.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /toolkit/components/extensions/ExtensionDNR.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/extensions/ExtensionDNR.sys.mjs')
-rw-r--r--toolkit/components/extensions/ExtensionDNR.sys.mjs18
1 files changed, 9 insertions, 9 deletions
diff --git a/toolkit/components/extensions/ExtensionDNR.sys.mjs b/toolkit/components/extensions/ExtensionDNR.sys.mjs
index cd01d52b72..d18856a2b8 100644
--- a/toolkit/components/extensions/ExtensionDNR.sys.mjs
+++ b/toolkit/components/extensions/ExtensionDNR.sys.mjs
@@ -634,20 +634,20 @@ class ModifyHeadersBase {
}
/**
- * @param {MatchedRule} matchedRule
+ * @param {MatchedRule} _matchedRule
* @returns {object[]}
*/
- headerActionsFor(matchedRule) {
+ headerActionsFor(_matchedRule) {
throw new Error("Not implemented.");
}
/**
- * @param {MatchedRule} matchedrule
- * @param {string} name
- * @param {string} value
- * @param {boolean} merge
+ * @param {MatchedRule} _matchedrule
+ * @param {string} _name
+ * @param {string} _value
+ * @param {boolean} _merge
*/
- setHeaderImpl(matchedrule, name, value, merge) {
+ setHeaderImpl(_matchedrule, _name, _value, _merge) {
throw new Error("Not implemented.");
}
@@ -1913,7 +1913,7 @@ const NetworkIntegration = {
maxEvaluatedRulesCount: 0,
register() {
- // We register via WebRequest.jsm to ensure predictable ordering of DNR and
+ // We register via WebRequest.sys.mjs to ensure predictable ordering of DNR and
// WebRequest behavior.
lazy.WebRequest.setDNRHandlingEnabled(true);
},
@@ -2034,7 +2034,7 @@ const NetworkIntegration = {
properties.setProperty("cancelledByExtension", addonId);
},
- applyUpgradeScheme(channel, matchedRule) {
+ applyUpgradeScheme(channel) {
// Request upgrade. No-op if already secure (i.e. https).
channel.upgradeToSecure();
},