diff options
Diffstat (limited to 'devtools/client/netmonitor/test/html_worker-test-page.html')
-rw-r--r-- | devtools/client/netmonitor/test/html_worker-test-page.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/test/html_worker-test-page.html b/devtools/client/netmonitor/test/html_worker-test-page.html new file mode 100644 index 0000000000..46f64368a1 --- /dev/null +++ b/devtools/client/netmonitor/test/html_worker-test-page.html @@ -0,0 +1,13 @@ +<script> +/* eslint-disable no-unused-vars */ +"use strict"; +startWorker(); + +var w; +function startWorker() { + startWorkerInner(); +} +function startWorkerInner() { + w = new Worker("js_worker-test.js"); +} +</script> |