[wpt-sync] Sync PR 63401 - [chromium-bidi] Speed up pointer actions in input.performActions
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63401 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63401
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[chromium-bidi] Speed up pointer actions in input.performActions
- Speed up pointer click and move actions in input.performActions by
~3.4x (reducing 1000 clicks from ~16.7s to ~4.9s).- Previously, every input.performActions call evaluated
navigator.platform via CDP, scheduled setTimeout(0) on zero-duration
ticks, and awaited rAF-aligned CDP mouseMoved commands before sending
mousePressed, stalling each click on 60Hz VSync (~16.67ms).- Lazily evaluate and cache the macOS platform check only for keyDown
actions, skip setTimeout(0) on zero-duration ticks, and pipeline
subsequent non-move actions behind zero-duration hover mouseMoved
commands to flush the renderer event queue immediately.- Remove stale SlowTests entries and Chromium-only timeout=long metadata
for bidi/input/perform_actions WPTs, and update the
release_actions/queue.py expectation baselines.Bug: 411434092
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I9317f17c6ab70b96e65b1b1286f42b51929bacbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8522202
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Reviewed-by: Nikolay Vitkov \<nvitkov@chromium.org>
Commit-Queue: Nikolay Vitkov \<nvitkov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1714317}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102604
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 21 tests and 8 subtests
Status Summary
Firefox
OK : 1[GitHub] 21[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12[GitHub] 643[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 644[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 11[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
Chrome
TIMEOUT: 1
Safari
OK : 1
ERROR : 12
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webdriver/tests/bidi/input/perform_actions/key.py [wpt.fyi]
- test_key_down_closes_browsing_context:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2204-64-wayland-debug,Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- test_key_down_closes_browsing_context:
- /webdriver/tests/bidi/input/perform_actions/pointer_mouse.py [wpt.fyi]
- test_move_to_position_in_viewport[default value]:
FAIL
- test_move_to_position_in_viewport[default value]:
- /webdriver/tests/bidi/input/perform_actions/pointer_mouse_drag.py [wpt.fyi]
- test_drag_and_drop_with_draggable_element[0]:
FAIL - test_drag_and_drop_with_draggable_element[300]:
FAIL - test_drag_and_drop_with_draggable_element[800]:
FAIL
- test_drag_and_drop_with_draggable_element[0]:
- /webdriver/tests/bidi/input/perform_actions/pointer_pen.py [wpt.fyi]
- test_pointer_down_closes_browsing_context:
FAIL - test_pen_pointer_in_shadow_tree[outer-open]:
FAIL - test_pen_pointer_in_shadow_tree[outer-closed]:
FAIL - test_pen_pointer_in_shadow_tree[inner-open]:
FAIL - test_pen_pointer_in_shadow_tree[inner-closed]:
FAIL - test_pen_pointer_properties:
FAIL
- test_pointer_down_closes_browsing_context:
- /webdriver/tests/bidi/input/perform_actions/wheel_events.py [wpt.fyi]
- test_scroll_emits_scrollend_event:
FAIL
- test_scroll_emits_scrollend_event:
https://hg.mozilla.org/mozilla-central/rev/f1ba06d7c83b
https://hg.mozilla.org/mozilla-central/rev/05fea69fefae
Description
•