Re: [whatwg/streams] can streams be transferred via postMessage()? (#276)

@jimmywarting If I understand correctly: the second window receives a transferred readable stream, and then transfers it again to a service worker? And when you close that second window, it (incorrectly) closes the stream? Good catch! 👍 

We don't really have a formal specification for transferable streams yet (just [an explainer](https://github.com/whatwg/streams/blob/6f94580f6731d1e017c516af097d47c45aad1f56/transferable-streams-explainer.md)). When we do, we should definitely add a test for this case. Perhaps you can make a separate issue for this, so we can keep track of it?

In the meantime, I suggest you file a bug in [the Chromium bug tracker](https://crbug.com), so they can fix their experimental implementation.

-- 
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/issues/276#issuecomment-482795506

Received on Saturday, 13 April 2019 10:02:41 UTC