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

Unified Diff: content/browser/renderer_host/input/mouse_latency_browsertest.cc

Issue 2923623002: Fix Flaky Mouse latency test. (Closed)
Patch Set: Add comment. Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/mouse_latency_browsertest.cc
diff --git a/content/browser/renderer_host/input/mouse_latency_browsertest.cc b/content/browser/renderer_host/input/mouse_latency_browsertest.cc
index 78c7b0cb81ac617aedba70c9d322913be2af72d0..69fcb2de8ddc324c6ceaccf4f68c7983b65696a7 100644
--- a/content/browser/renderer_host/input/mouse_latency_browsertest.cc
+++ b/content/browser/renderer_host/input/mouse_latency_browsertest.cc
@@ -37,6 +37,8 @@ const char kMouseUpDownDataURL[] =
"<style>"
"body {"
" height:3000px;"
+ // Prevent text selection logic from triggering, as it makes the test flaky.
+ " user-select: none;"
"}"
"</style>"
"</head>"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698