Re: [whatwg/streams] Support transferable streams (postMessage) (#1053)

@domenic commented on this pull request.



> @@ -745,6 +755,36 @@ option. If {{UnderlyingSource/type}} is set to undefined (including via omission
   immutable, this could allow interference between the two branches.
 </dl>
 
+<div algorithm="ReadableStream transfer steps">
+{{ReadableStream}} objects are [=transferable objects=]. Their [=transfer steps=], given |value| and
+|dataHolder|, are:
+
+ 1. [=Create a new MessagePort object=] whose [=owner=] is the [=incumbent settings object=] and let

The results are in: it turns out the owner is totally useless. https://github.com/whatwg/html/pull/5728 ; see e.g. https://whatpr.org/html/5728/web-messaging.html#dom-messagechannel for an example of the new way to create `MessagePort`s.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1053#discussion_r453083531

Received on Friday, 10 July 2020 21:24:17 UTC