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

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

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
6
7 function d()
8 {
9 var i = 10;
10 }
11
12 function testFunction()
13 {
14 debugger;
15 d();
16 }
17
18 var test = function()
19 {
20 InspectorTest.startDebuggerTest(step1);
21
22 function step1()
23 {
24 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
25 }
26
27 var stepCount = 0;
28 function step2(callFrames)
29 {
30 InspectorTest.captureStackTrace(callFrames);
31 if (stepCount < 2) {
32 InspectorTest.addResult("Stepping into...");
33 WebInspector.panels.sources._stepIntoButton.element.click();
34 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In spectorTest, step2));
35 } else
36 InspectorTest.completeDebuggerTest();
37 stepCount++;
38 }
39 }
40
41 </script>
42 </head>
43
44 <body onload="runTest()">
45 <p>
46 Tests "step in" functionality in debugger.
47 </p>
48
49 </body>
50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698