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)
Core
Web Audio
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
Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → Web Audio
Product: Testing → Core
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ffe85d9e888b3d2acb0a4eb4cf4dc0d80b24ca3
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1728a6be12afc6fe69448bd24817edb75946da0e
Assignee | ||
Comment 6•7 years ago
|
||
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
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a9f427484837
https://hg.mozilla.org/mozilla-central/rev/fd3050c5dd4f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•