1 /* eslint-env worker */
3 importScripts("urlSearchParams_commons.js");
6 dump("OK: " + !!a + " => " + a + " " + msg + "\n");
7 postMessage({ type: "status", status: !!a, msg: a + ": " + msg });
10 function is(a, b, msg) {
11 dump("IS: " + (a === b) + " => " + a + " | " + b + " " + msg + "\n");
15 msg: a + " === " + b + ": " + msg,
20 testSimpleURLSearchParams,
21 testCopyURLSearchParams,
22 testParserURLSearchParams,
30 postMessage({ type: "finish" });
34 var test = tests.shift();
38 onmessage = function () {
41 if (URLSearchParams instanceof Object) {
45 ok(status, "URLSearchParams in workers \\o/");