4 InspectorTest.addSniffer(WebInspector.CallStackSidebarPane.prototype, "setStatus", setStatus, false);
6 function setStatus(status)
8 // FIXME: For whatever reason, this isn't getting called consistently.
9 // Commenting it out to avoid flakeyness. https://bugs.webkit.org/show_bug.cgi?id=96867
10 // InspectorTest.addResult("Callstack status set to: '" + status + "'.");
13 InspectorTest.startDebuggerTest(step1);
17 DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
18 InspectorTest.evaluateInPage("setTimeout(testAction, 0);");
19 InspectorTest.waitUntilPaused(step2);
22 function step2(callFrames)
24 InspectorTest.captureStackTrace(callFrames);
25 InspectorTest.completeDebuggerTest();
29 window.addEventListener('load', runTest);