Closed Bug 2066645 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62197 - [webaudio] Add shared port for global-scope messaging

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ho Cheung <hocheung@chromium.org> wrote:

[webaudio] Add shared port for global-scope messaging

Add the spec-defined shared MessagePort between AudioWorklet on the main
thread and AudioWorkletGlobalScope on the rendering thread, behind the
AudioWorkletSharedPort runtime flag.

This exposes AudioWorklet.port and AudioWorkletGlobalScope.port when the
flag is enabled, creates the shared MessageChannel when AudioWorklet is
constructed, and entangles the rendering-side port when the global scope
is created. The existing AudioWorkletProcessor.port remains unchanged.

Update runtime-flag expectations so the new API is exposed in default
web test configurations with experimental features enabled, but not in
stable expectations.

Binary-Size: 12-byte generated base::Feature for Finch control.
Bug: 446920095
Change-Id: I136973405a0ad866e977c3c893365fba6e981089
Reviewed-on: https://chromium-review.googlesource.com/7710652
WPT-Export-Revision: bcdfaa3489b6ef2c618196655721510f5e8f61f7

Component: web-platform-tests → Web Audio
Product: Testing → Core
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 39 tests and 3 subtests

Status Summary

Firefox

OK : 3[GitHub] 33[Gecko-android-em-14-x86_64-debug-geckoview] 37[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 38[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug]
PASS : 8[GitHub] 145[Gecko-android-em-14-x86_64-debug-geckoview] 158[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 166[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 21
ERROR: 1

Chrome

OK : 2
PASS : 6
FAIL : 2
ERROR: 1

Safari

OK : 2
PASS : 5
FAIL : 3
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/31317680da38 https://hg.mozilla.org/integration/autoland/rev/9a3bef4c0026 [wpt PR 62197] - [webaudio] Add shared port for global-scope messaging, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.