diff options
Diffstat (limited to 'dom/workers/test/WorkerDebugger_worker.js')
-rw-r--r-- | dom/workers/test/WorkerDebugger_worker.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/workers/test/WorkerDebugger_worker.js b/dom/workers/test/WorkerDebugger_worker.js new file mode 100644 index 000000000..f301ac1e8 --- /dev/null +++ b/dom/workers/test/WorkerDebugger_worker.js @@ -0,0 +1,8 @@ +"use strict"; + +var worker = new Worker("WorkerDebugger_childWorker.js"); +self.onmessage = function (event) { + postMessage("child:" + event.data); +}; +debugger; +postMessage("worker"); |