| 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()");
|
| }
|
|
|
|
|