summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/WorkerDebugger_worker.js
blob: f301ac1e853b04fe36c1644093a80a7440ceb04b (plain)
1
2
3
4
5
6
7
8
"use strict";

var worker = new Worker("WorkerDebugger_childWorker.js");
self.onmessage = function (event) {
  postMessage("child:" + event.data);
};
debugger;
postMessage("worker");