Closed Bug 2082010 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63648 - [wdspec] Fix racy event assertions in BiDi WebDriver WPTs

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
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}

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

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

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.