summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/serviceworkers/scope
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/test/serviceworkers/scope')
-rw-r--r--dom/workers/test/serviceworkers/scope/scope_worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/workers/test/serviceworkers/scope/scope_worker.js b/dom/workers/test/serviceworkers/scope/scope_worker.js
new file mode 100644
index 000000000..4164e7a24
--- /dev/null
+++ b/dom/workers/test/serviceworkers/scope/scope_worker.js
@@ -0,0 +1,2 @@
+// This worker is used to test if calling register() without a scope argument
+// leads to scope being relative to service worker script.