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

Issue 2786223002: Fix flakiness in DragAndDropBrowserTests (Closed)

Created:
3 years, 8 months ago by kenrb
Modified:
3 years, 8 months ago
Reviewers:
paulmeyer, alexmos
CC:
chromium-reviews, aboxhall+watch_chromium.org, tfarina, jam, nektar+watch_chromium.org, dcheng, yuzo+watch_chromium.org, dougt+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, je_julie, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flakiness in DragAndDropBrowserTests Multiple drag and drop tests in interactive_ui_tests have been flaky with OOPIFs present. One cause was addressed in r460177, and this CL fixes another, which is that UI interaction can happen before surface- based hit testing is ready in the browser process. This CL includes a small refactor of SurfaceHitTestReadyNotifier to unify code paths for tests inside and outside of content/. Most of this patch was written by lukasza@. BUG=671445, 704603 Review-Url: https://codereview.chromium.org/2786223002 Cr-Commit-Position: refs/heads/master@{#461490} Committed: https://chromium.googlesource.com/chromium/src/+/66c46290f9774951731d1d38ad75d7aa2d1ac23d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -177 lines) Patch
M chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc View 2 chunks +3 lines, -15 lines 0 comments Download
M content/browser/accessibility/touch_accessibility_aura_browsertest.cc View 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 15 chunks +18 lines, -59 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 chunks +69 lines, -21 lines 0 comments Download
M content/test/content_browser_test_utils_internal.h View 2 chunks +0 lines, -26 lines 0 comments Download
M content/test/content_browser_test_utils_internal.cc View 2 chunks +0 lines, -51 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
kenrb
alexmos@: PTAL content/? I'm not certain this fixes the flakiness in the tests, but it ...
3 years, 8 months ago (2017-03-30 22:16:08 UTC) #6
alexmos
LGTM with nits. Thanks for the refactor, the tests look much nicer with this. https://codereview.chromium.org/2786223002/diff/1/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc ...
3 years, 8 months ago (2017-03-31 21:57:55 UTC) #7
kenrb
Thanks alexmos. paulmeyer@: PTAL drag_and_drop_interactive_uitest.cc? https://codereview.chromium.org/2786223002/diff/1/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc File chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc (left): https://codereview.chromium.org/2786223002/diff/1/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc#oldcode841 chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc:841: // Flaky on Linux. ...
3 years, 8 months ago (2017-04-03 17:28:30 UTC) #11
paulmeyer
LGTM
3 years, 8 months ago (2017-04-03 17:53:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786223002/20001
3 years, 8 months ago (2017-04-03 18:35:07 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 18:48:33 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/66c46290f9774951731d1d38ad75...

Powered by Google App Engine
This is Rietveld 408576698