WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
213060
[WebDriver] Support input cancel list
https://bugs.webkit.org/show_bug.cgi?id=213060
Summary
[WebDriver] Support input cancel list
Lauro Moura
Reported
2020-06-10 17:01:49 PDT
Currently, WebAutomationSession/SimulatedInputDispacher generates a set of default reset states for each input source when canceling an interaction sequence. (WebAutomationSession::cancelInteractionSequence). This is causing the mouseup reset event to be emitted with (0,0) position instead of the position of the last mouse press/move. This is making imported/w3c/webdriver/tests/perform_actions/pointer_contextmenu.py::test_release_control_click (and probably others to fail). A tentative fix for this, preserving the pointer coordinate, also showed that the order of the actions is not preserved (Cancel actions are traversed in a different order than expected). In the current WebDriver spec, these are the actions that add actions to the inputCancelList: * KeyDown -> Adds the same state with KeyUp * PointerDown -> Adds the same state with PointerUp
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug