DescriptionFixing flaky overscroll and touch exploration mode browser tests
The issue is that right after the WebCOntents window is created, it gets resized. The resize message is sent to the rendeer and until the confirmation is received, all mouse moves and touch moves are "held", which affects a bunch of tests.
- For in-process browser tests, ensure the resize is completed before the main test body is executed
- For content browser tests the solution is a bit more tricky. The WebContents window is lazily created when the first navigation happens and for content browser tests the first navigation doesn't happen as part of the setup. So the fix for this case is to add "wait for resize" functionality to TestNavigationObserver, which is a helper class used to wait for navigations to complete.
BUG=305722, 357311
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280356
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressing review feedback #Patch Set 3 : Cleanup #
Total comments: 2
Patch Set 4 : Addressing review feedback #Patch Set 5 : Implementing review feedback. #
Total comments: 4
Patch Set 6 : Addressing review feedback. #Patch Set 7 : Forgot to update .h #
Total comments: 6
Patch Set 8 : Addressing review feedback. #Patch Set 9 : Fixing gypil #Patch Set 10 : Adding back a comment removed by accident. #Messages
Total messages: 40 (0 generated)
|