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