summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/test_worker_xhr_system.js
diff options
context:
space:
mode:
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 =