commit | a62d1f69f43b5f7bef92b39336a1cb416b367171 | [log] [tgz] |
---|---|---|
author | Stefan Zager <szager@chromium.org> | Tue May 02 16:43:01 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 02 16:43:01 2023 |
tree | 445288f92d624e382579c32d05313d598fd3700d | |
parent | 7c98c2c4eada44e6a6716ed19b1427a0f5db0bae [diff] |
In smooth scroll test, use elapsed time to measure when scroll has ended WPT must be designed to run on a wide variety of hardware and refresh rates. Many of the tests have been retrofitted to accommodate test hardware with very slow refresh rates, but some tests (like this one) can fail when run on hardware with very *fast* refresh rates, because 500 animation frames may not be enough to reach the end of a scroll animation. With this change, we wait for 200 milliseconds and a minimum of 5 animation frames where the scroll offset doesn't change, with a timeout after 8 seconds. Bug: chromium:770028 Change-Id: I9c024cf48359dab384356285bba237fed1d57025 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4497336 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/main@{#1138432}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.