Closed Bug 2087680 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 63688 - [chromium-bidi] Emit worker network events to user contexts

Categories

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

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, Regressed 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63688 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63688
Details from upstream follow.

Maksim Sadym <sadym@chromium.org> wrote:

[chromium-bidi] Emit worker network events to user contexts

  • Emit network events originating from dedicated workers to
    subscriptions scoped to the worker's user context.
  • Previously, dedicated worker network requests fell back to global
    event registration without a browsing context, which ignored
    subscriptions filtered by userContexts.
  • Pass the CDP target's user context when registering global network
    events and match it against userContexts subscriptions.

Bug: 571526261
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: If5cc2d2d0b58de60ea1ba6cd670e7e32a240d6a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8579178
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Reviewed-by: Alex Rudenko \<alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko \<alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1719400}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 8 subtests

Status Summary

Firefox

OK : 1
PASS : 5[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] 6[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, GitHub]
FAIL : 2[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, GitHub] 3[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

OK : 1
PASS : 8

Safari

OK : 1
ERROR: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/network/combined/network_events.py [wpt.fyi]
    • test_cors_preflight_request: FAIL (Chrome: PASS, Safari: ERROR)
    • test_subscribe_to_one_user_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, GitHub] (Chrome: PASS, Safari: ERROR)
    • test_dedicated_worker_subscribe_to_user_context: FAIL (Chrome: PASS, Safari: ERROR)
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.