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

Unified Diff: LayoutTests/inspector/console/console-viewport-selection.html

Issue 399753003: DevTools: fix inspector/console/console-viewport-selection.html flakiness (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-viewport-selection-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/console-viewport-selection.html
diff --git a/LayoutTests/inspector/console/console-viewport-selection.html b/LayoutTests/inspector/console/console-viewport-selection.html
index ca275a0674453456b591bc7acc37a20ec208c3b2..4959cc6b9526e71cd0d5c6da8bfac762cd6db6e3 100644
--- a/LayoutTests/inspector/console/console-viewport-selection.html
+++ b/LayoutTests/inspector/console/console-viewport-selection.html
@@ -226,7 +226,7 @@ function test()
InspectorTest.completeTest();
return;
}
- viewport.forceScrollItemToBeLast(Math.max(fromMessage, toMessage));
+ viewport.forceScrollItemToBeFirst(Math.min(fromMessage, toMessage));
var from = selectionContainerAndOffset(consoleView.itemElement(fromMessage).element(), fromTextOffset);
var to = selectionContainerAndOffset(consoleView.itemElement(toMessage).element(), toTextOffset);
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-viewport-selection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698