gecko-dev/dom/workers/test/WorkerDebugger.initialize_w...

10 строки
197 B
JavaScript

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