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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html

Issue 2727373002: [DevTools] prepare tets for V8 roll (Closed)
Patch Set: Created 3 years, 10 months 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
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)

Powered by Google App Engine
This is Rietveld 408576698