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

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

debugger;
postMessage("worker");