Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)
What steps will reproduce the problem?
(1)Run inspector-protocol/input/dispatchMouseEvent.js test with --enable-features=TouchpadAndWheelScrollLatching,AsyncWheelEvents
What is the expected result?
The test should pass.
What happens instead?
It crashes instead since DispatchMouseEvent doesn't populate phase information for wheel events. In real case scenarios the phase information is added to wheel events in renderWidgetHostView*::SendMouseEvent function before forwarding them,
Since the event injection skips this function call and directly forwards wheel events, it should add phase info to them before forwarding.
Comment 1 by bugdroid1@chromium.org
, Aug 23 2017