Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-operation-breakpoints.html

Issue 1754483002: [DevTools] Added setBlackboxPatterns method to protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@provide-hash-for-anonymous-scripts
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698