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