forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weblayer: more attempt at fixing bottom test flake
The main thing this adds is waiting for cc to see the bottom-controls height by way of cc::RenderFrameMetadata. This is necessary because if we send scroll events before cc (BrowserControlsOffsetManager) gets the height, then no scrolling happens and the test fails. This also turns off delaying hide/show for tests. Unfortunately waiting for cc to get the height requires private api, so this test is moved to the private tests. I'm starting with a single test, if this proves stable I'll update the rest (and likely refactor this to be shared with the TopControlsTest). BUG=1077825 TEST=BottomControlsTest Change-Id: I1a1eadbee7b6f19f759b133df1739071150b6e25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2194233 Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#769867}
- Loading branch information
Scott Violet
authored and
Commit Bot
committed
May 18, 2020
1 parent
29fbbeb
commit 5b44999
Showing
20 changed files
with
292 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.