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

Unified Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html

Issue 2544383002: [DevTools] fixed script-formatter-breakpoints-1.html (Closed)
Patch Set: a Created 4 years 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
index d019b521d36169cbe60427563af54d4f5e8ac3dd..93dbd2152137331ab6e00e0f948a3889efea4031 100644
--- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
+++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
@@ -46,7 +46,10 @@ var test = function()
{
sourceFrame = frame;
InspectorTest.setBreakpoint(sourceFrame, 11, "", true);
- InspectorTest.waitUntilPaused(pausedInF1);
+ Promise.all([
+ InspectorTest.waitBreakpointSidebarPane(true),
+ InspectorTest.waitUntilPausedPromise()
+ ]).then(pausedInF1);
InspectorTest.evaluateInPageWithTimeout("f1()");
}
@@ -65,7 +68,10 @@ var test = function()
function uiSourceCodeScriptFormatted()
{
// There should be a breakpoint in f1 although script is pretty-printed.
- InspectorTest.waitUntilPaused(pausedInF1Again);
+ Promise.all([
+ InspectorTest.waitBreakpointSidebarPane(true),
+ InspectorTest.waitUntilPausedPromise()
+ ]).then(pausedInF1Again);
InspectorTest.evaluateInPageWithTimeout("f1()");
}
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698