gecko-dev/dom/workers/test/WorkerDebuggerGlobalScope.e...

15 строки
178 B
JavaScript

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