[wpt-sync] Sync PR 62470 - Fix WebAssembly.Module messaging with AudioWorklet
Categories
(Core :: Web Audio, task, P4)
Tracking
()
| 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}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cfd24dd4dc907a4f25833391317de6c5170051d7
| Assignee | ||
Comment 2•2 months ago
|
||
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
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-rendersizehint.https.html [wpt.fyi]:
SKIP - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https.html [wpt.fyi]
- Values for a control-rate parameter.automationRate match for set:
FAIL - Values for 你好.automationRate match for set:
FAIL - Values for 🎶.automationRate match for set:
FAIL - Values for a control-rate parameter.automationRate match for array:
FAIL - Values for 你好.automationRate match for array:
FAIL - Values for 🎶.automationRate match for array:
FAIL - Values for a control-rate parameter.automationRate match for generator:
FAIL - Values for 你好.automationRate match for generator:
FAIL - Values for 🎶.automationRate match for generator:
FAIL
- Values for a control-rate parameter.automationRate match for set:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-range.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https.html [wpt.fyi]
- Executing "Verify Size of AudioParam Arrays":
FAIL
- Executing "Verify Size of AudioParam Arrays":
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https.html [wpt.fyi]
- Verifying AudioParam in AudioWorkletNode:
FAIL
- Verifying AudioParam in AudioWorkletNode:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-denormals.https.window.html [wpt.fyi]
- Test denormal behavior in AudioWorkletGlobalScope:
FAIL
- Test denormal behavior in AudioWorkletGlobalScope:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https.html [wpt.fyi]:
OK[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],SKIP[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] - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https.html [wpt.fyi]
- Check the timing information from AudioWorkletProcessor:
FAIL
- Check the timing information from AudioWorkletProcessor:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https.html [wpt.fyi]
- setup-buffer-and-worklet-verify-rendered-buffer:
FAIL
- setup-buffer-and-worklet-verify-rendered-buffer:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https.html [wpt.fyi]
- Input array length should be zero for disconnected input:
FAIL
- Input array length should be zero for disconnected input:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https.html [wpt.fyi]
- AudioWorkletNode channel count: dynamic propagation and honoring outputChannelCount (single serialized test).:
FAIL
- AudioWorkletNode channel count: dynamic propagation and honoring outputChannelCount (single serialized test).:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-param-getter-overridden.https.html [wpt.fyi]
- Test if AudioWorkletProcessor with invalid parameters array getter:
FAIL
- Test if AudioWorkletProcessor with invalid parameters array getter:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https.html [wpt.fyi]
- X |inputs| is frozen is not true. Got false.:
FAIL - X |outputs| is frozen is not true. Got false.:
FAIL - < [check-frozen-array] 2 out of 2 assertions were failed.:
FAIL -
AUDIT TASK RUNNER FINISHED: 1 out of 2 tasks were failed.:
FAIL
- X |inputs| is frozen is not true. Got false.:
- /webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-unconnected-outputs.https.window.html [wpt.fyi]:
ERROR[Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],OK[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,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug] - /webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/process-getter.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview]
Tests Disabled in Gecko Infrastructure
- /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-rendersizehint.https.html [wpt.fyi]:
SKIP - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-range.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https.html [wpt.fyi]:
OK[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],SKIP[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] - /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /webaudio/the-audio-api/the-audioworklet-interface/process-getter.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,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],SKIP[Gecko-android-em-14-x86_64-debug-geckoview]
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•