7 return 1; // Breakpoint.
20 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
21 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
27 var numberOfStepOver
= 7;
29 InspectorTest
.startDebuggerTest(step1
, true);
33 InspectorTest
.showScriptSource("debugger-step-over-inlined-scripts.html", step2
);
36 function step2(sourceFrame
)
38 InspectorTest
.addResult("Script source was shown.");
39 InspectorTest
.setBreakpoint(sourceFrame
, 6, "", true);
40 InspectorTest
.waitUntilPaused(step3
);
41 InspectorTest
.reloadPage(completeTest
);
46 var actions
= ["Print"]; // First pause on breakpoint.
47 for (var i
= 0; i
< numberOfStepOver
; ++i
)
48 actions
.push("StepOver", "Print");
49 actions
.push("Resume");
50 InspectorTest
.waitUntilPausedAndPerformSteppingActions(actions
);
53 function completeTest()
55 InspectorTest
.completeDebuggerTest();
62 <body onload=
"runTest()">
64 Tests that debugger StepOver will step through inlined scripts.