diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-error-worker2.js')
-rw-r--r-- | devtools/client/webconsole/test/browser/test-error-worker2.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-error-worker2.js b/devtools/client/webconsole/test/browser/test-error-worker2.js new file mode 100644 index 0000000000..61fe07c3c4 --- /dev/null +++ b/devtools/client/webconsole/test/browser/test-error-worker2.js @@ -0,0 +1,7 @@ +"use strict"; + +self.addEventListener("message", ({ data }) => foo(data)); + +function foo(data) { + throw new Error("worker2"); +} |