summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_child-src_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_child-src_worker.js')
-rw-r--r--dom/security/test/csp/file_child-src_worker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_child-src_worker.js b/dom/security/test/csp/file_child-src_worker.js
new file mode 100644
index 0000000000..a6bb5e8044
--- /dev/null
+++ b/dom/security/test/csp/file_child-src_worker.js
@@ -0,0 +1,3 @@
+onmessage = function (e) {
+ postMessage("worker");
+};