summaryrefslogtreecommitdiffstats
path: root/dom/url
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /dom/url
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 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");