summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html')
-rw-r--r--devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html b/devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html
new file mode 100644
index 0000000000..2e1f3c4376
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/examples/doc-worker-scopes.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+
+<script>
+startWorker();
+
+function startWorker() {
+ w = new Worker("scopes-worker.js");
+}
+</script>
+
+<body>
+Hello World!
+</body>
+</html>