summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/eval_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/test/eval_worker.js')
-rw-r--r--dom/serviceworkers/test/eval_worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/serviceworkers/test/eval_worker.js b/dom/serviceworkers/test/eval_worker.js
new file mode 100644
index 0000000000..b79db5c5be
--- /dev/null
+++ b/dom/serviceworkers/test/eval_worker.js
@@ -0,0 +1,2 @@
+// eslint-disable-next-line no-eval
+eval("1+1");