Closed Bug 2070275 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62470 - Fix WebAssembly.Module messaging with AudioWorklet

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ho Cheung <hocheung@chromium.org> wrote:

Fix WebAssembly.Module messaging with AudioWorklet

Worklets have opaque origins but share their creator's agent cluster.
Use the creator document's origin for Chromium's additional same-origin
check when an AudioWorklet message requires it only for WebAssembly
modules.

Keep strict same-origin checks for File System Access handles, including
mixed messages, and retain the agent-cluster check. Add WPT and unit
coverage for the global and processor ports and rejection cases.

Bug: 40210558
Change-Id: I556705cbd7491eec71e7e6a060eada9b77ace87d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8334848
Reviewed-by: Hongchan Choi \<hongchan@chromium.org>
Commit-Queue: Aaron Teo \<hocheung@chromium.org>
Reviewed-by: Jeremy Roman \<jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1692867}

Component: web-platform-tests → Web Audio
Product: Testing → Core

CI Results

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

Total 40 tests and 3 subtests

Status Summary

Firefox

OK : 1[GitHub] 34[Gecko-android-em-14-x86_64-debug-geckoview] 38[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-debug, Gecko-windows11-64-25h2-opt] 39[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug]
PASS : 2[GitHub] 147[Gecko-android-em-14-x86_64-debug-geckoview] 160[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 168[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 : 1
FAIL : 2

Safari

PASS : 1
FAIL : 1
ERROR: 1

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: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.