summaryrefslogtreecommitdiffstats
path: root/dom/url/tests/urlSearchParams_commons.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/url/tests/urlSearchParams_commons.js')
-rw-r--r--dom/url/tests/urlSearchParams_commons.js4
1 files changed, 4 insertions, 0 deletions
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");