Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-step-in.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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.sources._stepIntoButton.element.click(); 33 WebInspector.inspectorView.panel("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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698