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="../debugger/resources/unformatted-async.js"></script> | 5 <script src="../debugger/resources/unformatted-async.js"></script> |
6 <script> | 6 <script> |
7 | 7 |
8 function testFunction() | 8 function testFunction() |
9 { | 9 { |
10 setTimeout(f2, 0); | 10 setTimeout(f2, 0); |
(...skipping 26 matching lines...) Expand all Loading... |
37 scriptFormatter._toggleFormatScriptSource(); | 37 scriptFormatter._toggleFormatScriptSource(); |
38 } | 38 } |
39 | 39 |
40 function step5() | 40 function step5() |
41 { | 41 { |
42 InspectorTest.runTestFunctionAndWaitUntilPaused(step6); | 42 InspectorTest.runTestFunctionAndWaitUntilPaused(step6); |
43 } | 43 } |
44 | 44 |
45 function step6() | 45 function step6() |
46 { | 46 { |
47 var callFrameList = self.runtime.sharedInstance(Sources.CallStackSidebar
Pane).callFrameList; | 47 var pane = self.runtime.sharedInstance(Sources.CallStackSidebarPane); |
48 for (var item of callFrameList._items) | 48 for (var element of pane.contentElement.querySelectorAll('.call-frame-it
em')) |
49 InspectorTest.addResult(item.element.textContent.replace(/VM\d+/g, "
VM")); | 49 InspectorTest.addResult(element.deepTextContent().replace(/VM\d+/g, "V
M")); |
50 InspectorTest.completeDebuggerTest(); | 50 InspectorTest.completeDebuggerTest(); |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 </script> | 54 </script> |
55 </head> | 55 </head> |
56 <body onload="runTest()"> | 56 <body onload="runTest()"> |
57 <p>Tests that call stack sidebar contains correct urls for call frames.</p> | 57 <p>Tests that call stack sidebar contains correct urls for call frames.</p> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |