gecko/dom/workers/test/WorkerDebuggerGlobalScope.enterEventLoop_childWorker.js

15 lines
178 B
JavaScript

"use strict";
function f() {
debugger;
}
self.onmessage = function (event) {
switch (event.data) {
case "ping":
debugger;
postMessage("pong");
break;
};
};