summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/WorkerDebuggerGlobalScope.enterEventLoop_childWorker.js
blob: b76f45a4d37c52fd5de0f6b37383f69e308f9341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

function f() {
  debugger;
}

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