Commit 4fa8338a authored by David Bokan's avatar David Bokan Committed by Commit Bot

[ScrollUnification] Adapt InputHandlerProxy tests

Most tests failing here were expecting ScrollingShouldSwitchToMainThread
to be called. This method goes away with scroll unification so we simply
avoid expecting it in these cases. A few tests were explicitly checking
behavior related to sending events to the main thread; these are no
longer relevant when unification is enabled so they simply early out and
can be removed when the flag ships.

This CL also makes these tests run with both states of the flag (and
improves the parameterized test fixture).

Bug: 1086625
Change-Id: Id088a7808741fb91e13d1836aa8522e881a17f45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2227850Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774669}
parent 390b02ff
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment