aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/standalone.py
diff options
context:
space:
mode:
authorEuclid Ye <yezhizhenjiakang@gmail.com>2025-05-19 16:34:04 +0800
committerGitHub <noreply@github.com>2025-05-19 08:34:04 +0000
commit7ac302f255887893c667aa4d46095a1093a3b97f (patch)
tree6d1169c098232ee7f723945a102cfafc8f36f532 /tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/standalone.py
parente2424fcec7511b683a06fbf624d06c63570560dd (diff)
downloadservo-main.tar.gz
servo-main.zip
Fix `WebDriverSession::input_cancel_list` related logic (#37010)HEADmain
- Remove incorrect addition to `input_cancel_list` in `dispatch_keyup_action` - For `KeyDown` and `PointerDown`, delay the addition to `input_cancel_list` until "Dispatching action algorithm" is done to match the spec. Previously the addition is done before notifying constellation. Moreover, this makes sure that `pointerUp` is appended even if `dispatch_pointerdown_action` returns early, so that [Release Actions](https://w3c.github.io/webdriver/#release-actions) always have the correct order. - Remove incorrect addition to `input_cancel_list` in `dispatch_pointerup_action`. This wrongly added "pointerdown" in [Release Actions](https://w3c.github.io/webdriver/#release-actions) - Reduce code duplication - Add TODO for PointerInputState::subtype and pointerID Testing: `./mach test-wpt -r --log-raw "D:\servo test log\perform-actions.txt" tests\wpt\tests\webdriver\tests\classic\perform_actions --product servodriver` has no new failures so no regression. There are a lot more passing tests, but I think mostly are because there is no CI for webdriver. cc @xiaochengh @jdm @PotatoCP @longvatrong111 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/standalone.py')
0 files changed, 0 insertions, 0 deletions