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 d() | 7 function d() |
8 { | 8 { |
9 var i = 10; | 9 var i = 10; |
10 } | 10 } |
(...skipping 12 matching lines...) Expand all Loading... |
23 { | 23 { |
24 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 24 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
25 } | 25 } |
26 | 26 |
27 var stepCount = 0; | 27 var stepCount = 0; |
28 function step2(callFrames) | 28 function step2(callFrames) |
29 { | 29 { |
30 InspectorTest.captureStackTrace(callFrames); | 30 InspectorTest.captureStackTrace(callFrames); |
31 if (stepCount < 2) { | 31 if (stepCount < 2) { |
32 InspectorTest.addResult("Stepping into..."); | 32 InspectorTest.addResult("Stepping into..."); |
33 WebInspector.panels.scripts._stepIntoButton.element.click(); | 33 WebInspector.panels.sources._stepIntoButton.element.click(); |
34 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In
spectorTest, step2)); | 34 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In
spectorTest, step2)); |
35 } else | 35 } else |
36 InspectorTest.completeDebuggerTest(); | 36 InspectorTest.completeDebuggerTest(); |
37 stepCount++; | 37 stepCount++; |
38 } | 38 } |
39 } | 39 } |
40 | 40 |
41 </script> | 41 </script> |
42 </head> | 42 </head> |
43 | 43 |
44 <body onload="runTest()"> | 44 <body onload="runTest()"> |
45 <p> | 45 <p> |
46 Tests "step in" functionality in debugger. | 46 Tests "step in" functionality in debugger. |
47 </p> | 47 </p> |
48 | 48 |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |