3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script>
12 function testFunction()
19 InspectorTest.startDebuggerTest(step1);
23 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
26 function step2(callFrames)
28 InspectorTest.captureStackTrace(callFrames);
29 InspectorTest.addResult("Stepping out...");
30 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step3));
31 WebInspector.panels.sources._stepOutButton.element.click();
34 function step3(callFrames)
36 InspectorTest.captureStackTrace(callFrames);
37 InspectorTest.completeDebuggerTest();
44 <body onload="runTest()">
46 Tests "step out" functionality in debugger.