summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/test_worker_xhr_system.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 /dom/xhr/tests/test_worker_xhr_system.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 'dom/xhr/tests/test_worker_xhr_system.js')
-rw-r--r--dom/xhr/tests/test_worker_xhr_system.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/xhr/tests/test_worker_xhr_system.js b/dom/xhr/tests/test_worker_xhr_system.js
index 23137801a0..ee5934363d 100644
--- a/dom/xhr/tests/test_worker_xhr_system.js
+++ b/dom/xhr/tests/test_worker_xhr_system.js
@@ -1,3 +1,5 @@
+/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
+
function ok(what, msg) {
postMessage({ event: msg, test: "ok", a: what });
}
@@ -6,7 +8,7 @@ function is(a, b, msg) {
postMessage({ event: msg, test: "is", a, b });
}
-self.onmessage = function onmessage(event) {
+self.onmessage = function onmessage() {
// An XHR with system privileges will be able to do cross-site calls.
const TEST_URL =