Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html |
index 3bb7d607b7e6012faebe29517ed6cc0d63a3d105..2de893d8d37cc3485f54533cfcb77a175099269d 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html |
@@ -52,23 +52,27 @@ function test() |
{ |
var maxAsyncCallStackDepth = 4; |
var frameworkRegexString = "/framework\\.js$"; |
+ InspectorTest.addSniffer(WebInspector.BlackboxManager.prototype, "_patternChangeFinishedForTests", step1); |
WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString); |
- InspectorTest.startDebuggerTest(step1, true); |
- |
function step1() |
{ |
- InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
+ InspectorTest.startDebuggerTest(step2, true); |
} |
function step2() |
{ |
- InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.AsyncOperationStarted, onAsyncOperationStarted); |
- InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step3); |
+ InspectorTest.runTestFunctionAndWaitUntilPaused(step3); |
} |
function step3() |
{ |
+ InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.AsyncOperationStarted, onAsyncOperationStarted); |
+ InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step4); |
+ } |
+ |
+ function step4() |
+ { |
var callbackFuncCount = 3; |
iterate(); |