Closed Bug 1497757 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13445 - Allow posting a SharedArrayBuffer to AudioWorklet

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13445 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13445 Details from upstream follow. Ben Smith <binji@chromium.org> wrote: > Allow posting a SharedArrayBuffer to AudioWorklet > > The HTML spec only allows passing SharedArrayBuffers to an agent in the > same agent cluster. Worklets currently do not belong to any agent > cluster, so a SharedArrayBuffer can not be shared with a worklet. > > However, it is intended that this is possible; see, for example, > https://github.com/w3c/css-houdini-drafts/issues/380 and the > AudioWorklet article here: > https://developers.google.com/web/updates/2018/06/audio-worklet-design-pattern#webaudio_powerhouse_audio_worklet_and_sharedarraybuffer > > This change funnels the agent cluster ID through when creating a > ThreadedWorklet, so a SharedArrayBuffer can be shared as long as the > creator of the Worklet's thread is in the same agent cluster. It is not > clear that this is the behavior that will be specified, however. > > Bug: chromium:892067 > Change-Id: If1a2187ae38da41f2389538c07e7b04921c6128f > Reviewed-on: https://chromium-review.googlesource.com/1262932 > WPT-Export-Revision: 513a95cab3473631872e37b776e908a61e6cff7d
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 1 tests and 1 subtests OK : 1 FAIL : 1 New tests that have failures or other problems: /webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https.html Test passing SharedArrayBuffer to an AudioWorklet : FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a9f427484837 [wpt PR 13445] - Allow posting a SharedArrayBuffer to AudioWorklet, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/fd3050c5dd4f [wpt PR 13445] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.