[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
Thu Feb 24 20:29:24 PST 2022


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

--- Comment #4 from tasnim <tasnimrock2k6 at gmail.com> ---
Right, I had posted my findings with processorOptions but I just tested with postMessage too. Doesn't work there. See https://jsfiddle.net/6ua5o3jk/
Works perfectly fine in chrome.

The SharedArrayBuffer may be getting copied to the other thread and behaving like a normal ArrayBuffer. I verified this when initially setting some values (before sab was transported to the other thread) and later, able to see the same value in the other thread.

(Note in both the test, at step-2 in the attached screenshot if you click anywhere in the browser to activate AudioWorkletProcessor, it may not work directly coz of autoplay issue and then you'll have to reload the browser and check again)

-- 
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/b226e4e5/attachment-0001.htm>


More information about the webkit-unassigned mailing list