summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_child-src_service_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_child-src_service_worker.js')
-rw-r--r--dom/security/test/csp/file_child-src_service_worker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_child-src_service_worker.js b/dom/security/test/csp/file_child-src_service_worker.js
new file mode 100644
index 0000000000..b8445fb175
--- /dev/null
+++ b/dom/security/test/csp/file_child-src_service_worker.js
@@ -0,0 +1,3 @@
+this.addEventListener("install", function (event) {
+ close();
+});