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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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
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 f() 7 function f()
8 { 8 {
9 var i = 10; 9 var i = 10;
10 } 10 }
(...skipping 17 matching lines...) Expand all
28 { 28 {
29 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 29 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
30 } 30 }
31 31
32 var stepCount = 0; 32 var stepCount = 0;
33 function step2(callFrames) 33 function step2(callFrames)
34 { 34 {
35 InspectorTest.captureStackTrace(callFrames); 35 InspectorTest.captureStackTrace(callFrames);
36 if (stepCount < 2) { 36 if (stepCount < 2) {
37 InspectorTest.addResult("Stepping over..."); 37 InspectorTest.addResult("Stepping over...");
38 WebInspector.panels.scripts._stepOverButton.element.click(); 38 WebInspector.panels.sources._stepOverButton.element.click();
39 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In spectorTest, step2)); 39 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In spectorTest, step2));
40 } else 40 } else
41 InspectorTest.completeDebuggerTest(); 41 InspectorTest.completeDebuggerTest();
42 stepCount++; 42 stepCount++;
43 } 43 }
44 } 44 }
45 45
46 </script> 46 </script>
47 </head> 47 </head>
48 48
49 <body onload="runTest()"> 49 <body onload="runTest()">
50 <p> 50 <p>
51 Tests "step over" functionality in debugger. 51 Tests "step over" functionality in debugger.
52 </p> 52 </p>
53 53
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698