diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/outer-worker.js')
-rw-r--r-- | devtools/client/debugger/test/mochitest/examples/outer-worker.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/outer-worker.js b/devtools/client/debugger/test/mochitest/examples/outer-worker.js new file mode 100644 index 0000000000..a0d0f5cf64 --- /dev/null +++ b/devtools/client/debugger/test/mochitest/examples/outer-worker.js @@ -0,0 +1,8 @@ +var w = new Worker("inner-worker.js"); + +self.addEventListener( + "message", + function(e) { + console.log("Outer worker received message!"); + } +); |