Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html |
index 26cacfb49a530fb4619547dec842b4abcd633309..4f3037369ae1de83b17aecf0fedde3268eb8b390 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets.html |
@@ -25,8 +25,10 @@ var test = function() |
{ |
currentSourceFrame = sourceFrame; |
InspectorTest.addResult("Script source was shown."); |
- InspectorTest.setBreakpoint(currentSourceFrame, 9, "", true); |
- InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); |
+ InspectorTest.waitUntilPaused(didPause); |
+ InspectorTest.createNewBreakpoint(currentSourceFrame, 9, "", true) |
+ .then(() => InspectorTest.waitBreakpointSidebarPane()) |
+ .then(() => InspectorTest.runTestFunction()); |
} |
function didPause(callFrames) |