| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 5 <script src="../../../http/tests/inspector/console-test.js"></script> | 5 <script src="../../../http/tests/inspector/console-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 debugger; | 10 debugger; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 { | 35 { |
| 36 try { | 36 try { |
| 37 win.postMessage("Trying origin=" + origin, origin); | 37 win.postMessage("Trying origin=" + origin, origin); |
| 38 } catch(ex) { | 38 } catch(ex) { |
| 39 console.error("FAIL: Error sending message to " + origin + ". " + ex); | 39 console.error("FAIL: Error sending message to " + origin + ". " + ex); |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 var test = function() | 43 var test = function() |
| 44 { | 44 { |
| 45 var maxAsyncCallStackDepth = 4; | 45 var maxAsyncCallStackDepth = 8; |
| 46 var numberOfConsoleMessages = 5; | 46 var numberOfConsoleMessages = 5; |
| 47 | 47 |
| 48 InspectorTest.setQuiet(true); | 48 InspectorTest.setQuiet(true); |
| 49 InspectorTest.startDebuggerTest(step1); | 49 InspectorTest.startDebuggerTest(step1); |
| 50 | 50 |
| 51 function step1() | 51 function step1() |
| 52 { | 52 { |
| 53 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause
OnExceptionsState.DontPauseOnExceptions); | 53 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause
OnExceptionsState.DontPauseOnExceptions); |
| 54 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0); | 54 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0); |
| 55 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 55 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 83 | 83 |
| 84 <body onload="runTest()"> | 84 <body onload="runTest()"> |
| 85 <p> | 85 <p> |
| 86 Tests asynchronous call stacks printed in console. | 86 Tests asynchronous call stacks printed in console. |
| 87 </p> | 87 </p> |
| 88 <div><iframe src="../debugger/resources/post-message-listener.html" | 88 <div><iframe src="../debugger/resources/post-message-listener.html" |
| 89 id="iframe" width="800" height="100" style="border: 1px solid black;"> | 89 id="iframe" width="800" height="100" style="border: 1px solid black;"> |
| 90 </iframe></div> | 90 </iframe></div> |
| 91 </body> | 91 </body> |
| 92 </html> | 92 </html> |
| OLD | NEW |