[wpt-sync] Sync PR 63648 - [wdspec] Fix racy event assertions in BiDi WebDriver WPTs
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63648 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63648
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[wdspec] Fix racy event assertions in BiDi WebDriver WPTs
- Make five BiDi WebDriver WPTs stop flaking by asserting only event
orders and counts that the specs guarantee, and by registering event
waiters before triggering the action.- HTML emits browsingContext.historyUpdated from the session history
traversal queue, unordered with the navigation fetch. Fetch can
emit a CORS preflight's responseCompleted after the actual request
starts. A popup's initial about:blank can get its own realm.
dragleave depends on implementation-defined pointer move
interpolation. userPromptOpened could fire before its waiter was
added.Bug: 565712857
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel,android-15-chrome-blink-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I633dc4b1d72bc6f0da3acebdd829c47ff5aa96ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8578100
Reviewed-by: Alex Rudenko \<alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko \<alexrudenko@chromium.org>
Commit-Queue: Maksim Sadym \<sadym@chromium.org>
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1718526}
| 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=105211
| 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 35 tests and 6 subtests
Status Summary
Firefox
OK : 5[GitHub] 34[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] 35[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 : 42[GitHub] 700[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] 705[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 : 5[GitHub] 15[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] 16[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]
Chrome
OK : 5
PASS : 47
Safari
OK : 5
ERROR: 47
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /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(Chrome:PASS, Safari:ERROR) - test_drag_and_drop_with_draggable_element[300]:
FAIL(Chrome:PASS, Safari:ERROR) - test_drag_and_drop_with_draggable_element[800]:
FAIL(Chrome:PASS, Safari:ERROR)
- 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:
- /webdriver/tests/bidi/integration/navigation.py [wpt.fyi]
- test_navigate_history_replacestate_beforeunload:
FAIL(Chrome:PASS, Safari:ERROR)
- test_navigate_history_replacestate_beforeunload:
- /webdriver/tests/bidi/integration/set_viewport_with_preload_script.py [wpt.fyi]
- test_order:
FAIL
- test_order:
- /webdriver/tests/bidi/integration/parallel_execution/browsing_context_set_viewport.py [wpt.fyi]:
OK[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],SKIP[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] - /webdriver/tests/bidi/network/combined/network_events.py [wpt.fyi]
- test_cors_preflight_request:
FAIL(Chrome:PASS, Safari:ERROR)
- test_cors_preflight_request:
- /webdriver/tests/bidi/script/realm_created/realm_created.py [wpt.fyi]
- test_existing_realm[tab]:
FAIL - test_existing_realm[window]:
FAIL
- test_existing_realm[tab]:
Tests Disabled in Gecko Infrastructure
- /webdriver/tests/bidi/integration/parallel_execution/browsing_context_set_viewport.py [wpt.fyi]:
OK[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],SKIP[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]
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4002d17f882c
https://hg.mozilla.org/mozilla-central/rev/6c5bfe785190
Description
•