Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html |
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html |
| index 4ca7897835ffa1336c15d0d1dd039ada95377615..a1cd287f4ce3efe98a9338e69b264f364c26abf3 100644 |
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html |
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html |
| @@ -36,10 +36,17 @@ var test = function() |
| function step2(sourceFrame) |
| { |
| InspectorTest.addResult("Script source was shown."); |
| + InspectorTest.prepareSourceFrameForBreakpointTest(sourceFrame); |
| + |
| InspectorTest.setBreakpoint(sourceFrame, 2, "", true); |
| InspectorTest.setBreakpoint(sourceFrame, 9, "", true); |
| + |
| + InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame) |
|
kozy
2017/03/03 01:21:12
We need to wait correct location before reload to
|
| + .then(() => { |
| + InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTest()); |
| + }); |
| + |
| InspectorTest.waitUntilPaused(step3); |
| - InspectorTest.reloadPage(InspectorTest.completeDebuggerTest.bind(InspectorTest)); |
| } |
| function step3(callFrames) |