[CleanUp] for threaded-prefer-compositing.
Some tests in the virtual suite threaded-prefer-compositing will fail when the feature is turned on by default since they run with smooth scrolling enabled. The easy fix here would have been to simply add the arg "--disable-smooth-scrolling" to the test suite but that will not work since some tests under fast/scroll-behavior rely on smooth scroll being enabled. Additionally, disabling animated scrolling by using javascript only works on the main thread (see bug for more info) so that isn't an option either. This CL fixes the issue by allowing for adequate time to finish animating by using waitForAnimationEndTimeBased. Bug: 1038542 Change-Id: Ia5081a504cd99b3f10105f8ac20ad77ab966f063 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986899 Commit-Queue: Rahul Arakeri <arakeri@microsoft.com> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#742299}
Showing
Please register or sign in to comment