Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html |
index 8603c4784c1ac2294ccd0da03f2ed7a02487295a..329b2cadded0a124f4df3529de80522bdc01137c 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints.html |
@@ -22,9 +22,10 @@ var test = function() |
function didShowScriptSource(sourceFrame) |
{ |
InspectorTest.addResult("Script source was shown."); |
- InspectorTest.setBreakpoint(sourceFrame, 7, "", true); |
InspectorTest.waitUntilPaused(didPause); |
- InspectorTest.runTestFunction(); |
+ InspectorTest.createNewBreakpoint(sourceFrame, 7, "", true) |
+ .then(() => InspectorTest.waitBreakpointSidebarPane()) |
+ .then(() => InspectorTest.runTestFunction()); |
} |
function didPause(callFrames) |