diff options
Diffstat (limited to 'dom/workers/test/WorkerDebugger_suspended_debugger.js')
-rw-r--r-- | dom/workers/test/WorkerDebugger_suspended_debugger.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/workers/test/WorkerDebugger_suspended_debugger.js b/dom/workers/test/WorkerDebugger_suspended_debugger.js new file mode 100644 index 000000000..2ed4e16c4 --- /dev/null +++ b/dom/workers/test/WorkerDebugger_suspended_debugger.js @@ -0,0 +1,6 @@ +"use strict"; + +var dbg = new Debugger(global); +dbg.onDebuggerStatement = function (frame) { + postMessage("debugger"); +}; |