Support transfer of WritableStream
Allow WritableStream objects to be transferred with postMessage(). Add support for serialization and deserialization of WritableStreams. WritableStreams share the stream_ports array with ReadableStreams, using indexes starting after the last ReadableStream in the array. As with ReadableStreams, the functionality is hidden behind the TransferableStreams blink feature, which much be enabled explicitly for it to work. This CL only contains rudimentary tests. In-depth layout tests will be added later. BUG=894838 Change-Id: I237f740e4750faa5976481baa161c85bacd51687 Reviewed-on: https://chromium-review.googlesource.com/c/1353034Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#612151}
Showing
Please register or sign in to comment