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 function testFunction() | 7 function testFunction() |
8 { | 8 { |
9 setTimeout(functionFoo, 0); | 9 setTimeout(functionFoo, 0); |
10 } | 10 } |
(...skipping 12 matching lines...) Expand all Loading... |
23 InspectorTest.startDebuggerTest(step2); | 23 InspectorTest.startDebuggerTest(step2); |
24 } | 24 } |
25 | 25 |
26 function step2() | 26 function step2() |
27 { | 27 { |
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step3); | 28 InspectorTest.runTestFunctionAndWaitUntilPaused(step3); |
29 } | 29 } |
30 | 30 |
31 function step3() | 31 function step3() |
32 { | 32 { |
33 var callFrameList = WebInspector.panels.sources.sidebarPanes.callstack.c
allFrameList; | 33 var callFrameList = self.runtime.sharedInstance(WebInspector.CallStackSi
debarPane).callFrameList; |
34 for (var item of callFrameList._items) | 34 for (var item of callFrameList._items) |
35 InspectorTest.addResult(item.element.textContent.replace(/VM\d+/g, "
VM")); | 35 InspectorTest.addResult(item.element.textContent.replace(/VM\d+/g, "
VM")); |
36 InspectorTest.completeDebuggerTest(); | 36 InspectorTest.completeDebuggerTest(); |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 </script> | 40 </script> |
41 </head> | 41 </head> |
42 <body onload="runTest()"> | 42 <body onload="runTest()"> |
43 <p>Tests that call stack sidebar contains correct urls for call frames.</p> | 43 <p>Tests that call stack sidebar contains correct urls for call frames.</p> |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |