Re: [whatwg/streams] Editorial changes to transferable streams explainer (#977)

> I was a little concerned that Transferable Streams would make it pretty easy to route data around the cross-origin restriction

It's equivalent in power to a MessageChannel, so it doesn't weaken any security guarantees.

> I do think the explainer needs to support a better use-case than the general "workers make things easier", or "delegation is good".

It is currently only an ergonomics win, although I hope to add optimisations in future exploiting the fact that the platform understands the semantics of the transfer. I think it opens up the benefits of offloading work to a larger audience, and that's where the end-user benefit comes from.

I will try to incorporate @MattiasBuelens's examples into the explainer.

-- 
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/977#issuecomment-460552652

Received on Tuesday, 5 February 2019 08:31:38 UTC