diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/worker-exception.js')
-rw-r--r-- | devtools/client/debugger/test/mochitest/examples/worker-exception.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/worker-exception.js b/devtools/client/debugger/test/mochitest/examples/worker-exception.js new file mode 100644 index 0000000000..e3bebfefb2 --- /dev/null +++ b/devtools/client/debugger/test/mochitest/examples/worker-exception.js @@ -0,0 +1,4 @@ +self.onmessage = () => { + throw new Error("OH NO!"); +} +nofunc(); |