• Lan Wei's avatar
    Rewrite scroll interruption tests into browser tests · 3df38ad3
    Lan Wei authored
    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.
    
    Bug: 1047176
    Change-Id: I79275eb7f2a78fd52e0c1ac93c4ee7d95d27b22f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2250663
    Commit-Queue: Lan Wei <lanwei@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811361}
    3df38ad3
BUILD.gn 105 KB