Closed Bug 2070542 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62499 - Revert "Fix WebAssembly.Module messaging with AudioWorklet"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jiacheng Guo <gjc@google.com> wrote:

Revert "Fix WebAssembly.Module messaging with AudioWorklet"

This reverts commit 4b8042b1960f0fdc9eafb3ace18fb951628bb8c3.

Reason for revert: Causing CI failure

Failure Link: https://ci.chromium.org/ui/p/chromium/builders/ci/Win10%20Tests%20x64%20(dbg)/55231/overview

Original change's description:

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}

Bug: 40210558
Change-Id: I8920bffbd1ccb61564c7a312eb18a98da47a4654
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8365744
Owners-Override: Jiacheng Guo \<gjc@google.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com \<rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Jiacheng Guo \<gjc@google.com>
Cr-Commit-Position: refs/heads/main@{#1693158}

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

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6693270407bc https://hg.mozilla.org/integration/autoland/rev/29e9b0733feb [wpt PR 62499] - Revert "Fix WebAssembly.Module messaging with AudioWorklet", a=testonly
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.