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 functionBar(); | 9 functionBar(); |
10 } | 10 } |
(...skipping 13 matching lines...) Expand all Loading... |
24 InspectorTest.startDebuggerTest(step1); | 24 InspectorTest.startDebuggerTest(step1); |
25 | 25 |
26 function step1() | 26 function step1() |
27 { | 27 { |
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
29 } | 29 } |
30 | 30 |
31 function step2() | 31 function step2() |
32 { | 32 { |
33 InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorT
est); | 33 InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorT
est); |
34 WebInspector.panels.sources.sidebarPanes.callstack._copyStackTrace(); | 34 self.runtime.sharedInstance(WebInspector.CallStackSidebarPane)._copyStac
kTrace(); |
35 InspectorTest.completeDebuggerTest(); | 35 InspectorTest.completeDebuggerTest(); |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 </script> | 39 </script> |
40 </head> | 40 </head> |
41 | 41 |
42 <body onload="runTest()"> | 42 <body onload="runTest()"> |
43 <p> | 43 <p> |
44 Tests that debugger will copy valid stack trace upon context menu action. | 44 Tests that debugger will copy valid stack trace upon context menu action. |
45 </p> | 45 </p> |
46 | 46 |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |