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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html

Issue 2491983002: [DevTools] reworked JavaScriptBreakpointsSidebarPane.js (Closed)
Patch Set: labal :( Created 4 years, 1 month 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-ui/click-gutter-breakpoint.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html
index e2554ef807bfbb6df6cfa6b7ac9ca67f4415f988..c44e52b21502c79c53d95e3bbe3ead399690230e 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/click-gutter-breakpoint.html
@@ -41,16 +41,11 @@ function test()
function runScript()
{
- InspectorTest.waitUntilPaused(pausedInF2);
+ Promise.all([InspectorTest.waitBreakpointSidebarPane(), new Promise(resolve => InspectorTest.waitUntilPaused(resolve))])
+ .then(() => InspectorTest.dumpBreakpointSidebarPane("while paused"))
+ .then(() => InspectorTest.completeDebuggerTest());
InspectorTest.evaluateInPageWithTimeout("f2()");
}
-
- function pausedInF2(callFrames)
- {
- InspectorTest.dumpBreakpointSidebarPane("while paused");
- InspectorTest.completeDebuggerTest();
- }
-
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698