| 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> | 5 <script> |
| 6 | 6 |
| 7 var a = "FAIL"; | 7 var a = "FAIL"; |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 var a = "PASS"; | 10 var a = "PASS"; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 function step2() | 39 function step2() |
| 40 { | 40 { |
| 41 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); | 41 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); |
| 42 } | 42 } |
| 43 | 43 |
| 44 function didPause(callFrames, reason, breakpointIds, asyncStackTrace) | 44 function didPause(callFrames, reason, breakpointIds, asyncStackTrace) |
| 45 { | 45 { |
| 46 InspectorTest.captureStackTrace(callFrames, asyncStackTrace); | 46 InspectorTest.captureStackTrace(callFrames, asyncStackTrace); |
| 47 | 47 |
| 48 var pane = WebInspector.panels.sources.sidebarPanes.callstack; | 48 var pane = WebInspector.inspectorView.panel("sources").sidebarPanes.call
stack; |
| 49 InspectorTest.addResult("Select call frame: " + pane.placards[1].title); | 49 InspectorTest.addResult("Select call frame: " + pane.placards[1].title); |
| 50 pane._placardSelected(pane.placards[1]); | 50 pane._placardSelected(pane.placards[1]); |
| 51 InspectorTest.runAfterPendingDispatches(step3); | 51 InspectorTest.runAfterPendingDispatches(step3); |
| 52 } | 52 } |
| 53 | 53 |
| 54 function step3() | 54 function step3() |
| 55 { | 55 { |
| 56 InspectorTest.evaluateInConsoleAndDump("a", step4); | 56 InspectorTest.evaluateInConsoleAndDump("a", step4); |
| 57 } | 57 } |
| 58 | 58 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 70 </script> | 70 </script> |
| 71 </head> | 71 </head> |
| 72 | 72 |
| 73 <body onload="runTest()"> | 73 <body onload="runTest()"> |
| 74 <p> | 74 <p> |
| 75 Tests evaluation in an async call frame. | 75 Tests evaluation in an async call frame. |
| 76 </p> | 76 </p> |
| 77 | 77 |
| 78 </body> | 78 </body> |
| 79 </html> | 79 </html> |
| OLD | NEW |