summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/WorkerDebugger.initialize_debugger.js
blob: f52e95b159aea1538294db7b5e53d4a9a043e5c3 (plain)
1
2
3
4
5
6
"use strict";

var dbg = new Debugger(global);
dbg.onDebuggerStatement = function (frame) {
  frame.eval("postMessage('debugger');");
};