gecko/dom/workers/test/WorkerDebugger_worker.js

9 lines
183 B
JavaScript

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