[Webkit-unassigned] [Bug 237144] SharedArrayBuffer posted to AudioWorkletProcessor is not actually shared with the main thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 09:24:02 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=237144

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
Ok, so when constructing a SerializedScriptValue, the default SerializationContext  is SerializationContext::Default and it is likely what we end up using for sending the options to the AudioWorklet. However, looking at our implementation, SharedArrayBuffer are only serialized as shared when SerializationContext is SerializationContext::WorkerPostMessage. I am not sure why that is (Yusuke, do you know?).

In anyway, I bet that using SerializationContext::WorkerPostMessage as serialization context for AudioWorklet will work. I'll test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220225/5ecd14bf/attachment.htm>


More information about the webkit-unassigned mailing list