summaryrefslogtreecommitdiffstats
path: root/toolkit/components/url-classifier/tests/mochitest/evilWorker.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/url-classifier/tests/mochitest/evilWorker.js')
-rw-r--r--toolkit/components/url-classifier/tests/mochitest/evilWorker.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/components/url-classifier/tests/mochitest/evilWorker.js b/toolkit/components/url-classifier/tests/mochitest/evilWorker.js
new file mode 100644
index 0000000000..b4e8a47602
--- /dev/null
+++ b/toolkit/components/url-classifier/tests/mochitest/evilWorker.js
@@ -0,0 +1,5 @@
+/* eslint-env worker */
+
+onmessage = function () {
+ postMessage("loaded bad file");
+};