summaryrefslogtreecommitdiffstats
path: root/dom/url
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 /dom/url
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/url')
-rw-r--r--dom/url/tests/browser_download_after_revoke.js2
-rw-r--r--dom/url/tests/protocol_worker.js2
-rw-r--r--dom/url/tests/urlSearchParams_commons.js4
-rw-r--r--dom/url/tests/url_exceptions_worker.js2
4 files changed, 8 insertions, 2 deletions
diff --git a/dom/url/tests/browser_download_after_revoke.js b/dom/url/tests/browser_download_after_revoke.js
index be8ad96e70..f145b36281 100644
--- a/dom/url/tests/browser_download_after_revoke.js
+++ b/dom/url/tests/browser_download_after_revoke.js
@@ -43,7 +43,7 @@ async function test() {
domwindow.addEventListener("load", onModalLoad, true);
},
- onCloseWindow(aXULWindow) {},
+ onCloseWindow() {},
};
Services.wm.addListener(listener);
diff --git a/dom/url/tests/protocol_worker.js b/dom/url/tests/protocol_worker.js
index c038254a4c..81e761ee0e 100644
--- a/dom/url/tests/protocol_worker.js
+++ b/dom/url/tests/protocol_worker.js
@@ -1,3 +1,5 @@
+/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
+
function ok(a, msg) {
postMessage({ type: "status", status: !!a, msg });
}
diff --git a/dom/url/tests/urlSearchParams_commons.js b/dom/url/tests/urlSearchParams_commons.js
index 3a1dcb2807..4a1308b94b 100644
--- a/dom/url/tests/urlSearchParams_commons.js
+++ b/dom/url/tests/urlSearchParams_commons.js
@@ -1,5 +1,9 @@
/* import-globals-from urlSearchParams_worker.js */
+// This file gets included into a worker which doesn't have any
+// assertion methods besides `ok` and `is`.
+/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
+
function testSimpleURLSearchParams() {
var u = new URLSearchParams();
ok(u, "URLSearchParams created");
diff --git a/dom/url/tests/url_exceptions_worker.js b/dom/url/tests/url_exceptions_worker.js
index c8d8494ac9..8bbd641136 100644
--- a/dom/url/tests/url_exceptions_worker.js
+++ b/dom/url/tests/url_exceptions_worker.js
@@ -2,7 +2,7 @@ function ok(a, msg) {
postMessage({ type: "status", status: !!a, msg });
}
-onmessage = function (event) {
+onmessage = function () {
// URL.href throws
var url = new URL("http://www.example.com");
ok(url, "URL created");