[Webkit-unassigned] [Bug 184254] Regression: MessagePort.postMessage() fails to send transferable objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 5 15:39:07 PDT 2018


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

--- Comment #7 from Tadeu Zagallo <tzagallo at apple.com> ---
It seems that the regression was introduce in https://bugs.webkit.org/show_bug.cgi?id=181922 due to `SerializedScriptValue`s being encoded with `toWireData`, which does not include ArrayBuffers (or any other extra data contained in the serialized value for that matter). However, I'm not sure if this is the best approach, and if it's OK to expose the ArrayBufferContents ctor that I had to expose. Also, we should probably  throw an error when a SharedArrayBuffer is part of transfer list (similar to what Chrome does).

-- 
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/20180405/b4f8f40a/attachment-0002.html>


More information about the webkit-unassigned mailing list