Reland "Rewrite scroll interruption tests into browser tests"
After we finish the scroll unification, the scrolls happens mainly on the compositor thread, and the scroll code in the main thread will be removed. eventSender sends the scroll events to main thread, so it would not work after the scroll unification. We rewrite below tests fast/scroll-behavior/main-frame-interrupted-scroll.html, fast/scroll-behavior/overflow-interrupted-scroll.html and fast/scroll-behavior/subframe-interrupted-scroll.html into browser tests because we cannot guarantee that the scroll arrives before the animation completes. I disable the test when disable_threaded_scrolling_ is false, because we do not know what is the final scrollTop value. TBR=bokan@chromium.org Change-Id: Ia9b68cd2e0c4f198968aa56482698c0c02edf452 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441205Reviewed-by:Lan Wei <lanwei@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#812517}
Showing
This diff is collapsed.
Please register or sign in to comment