3 WebInspector.showPanel("sources");
5 InspectorTest.addSniffer(WebInspector.CallStackSidebarPane.prototype, "setStatus", setStatus, false);
7 function setStatus(status)
9 // FIXME: For whatever reason, this isn't getting called consistently.
10 // Commenting it out to avoid flakeyness. https://bugs.webkit.org/show_bug.cgi?id=96867
11 // InspectorTest.addResult("Callstack status set to: '" + status + "'.");
14 InspectorTest.startDebuggerTest(step1);
18 DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
19 InspectorTest.evaluateInPage("setTimeout(testAction, 0);");
20 InspectorTest.waitUntilPaused(step2);
23 function step2(callFrames)
25 InspectorTest.captureStackTrace(callFrames);
26 InspectorTest.completeDebuggerTest();
30 window.addEventListener('load', runTest);