diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/doc-worker-exception.html')
-rw-r--r-- | devtools/client/debugger/test/mochitest/examples/doc-worker-exception.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/doc-worker-exception.html b/devtools/client/debugger/test/mochitest/examples/doc-worker-exception.html new file mode 100644 index 0000000000..5bd4ca136c --- /dev/null +++ b/devtools/client/debugger/test/mochitest/examples/doc-worker-exception.html @@ -0,0 +1,10 @@ +<script> +var worker; +window.startWorker = () => { + worker = new Worker("worker-exception.js"); +} + +window.messageWorker = () => { + worker.postMessage({yo: 'yo'}); +} +</script> |