> On 2014-12-10, at 11:08, Nikhil Marathe <nsm.nik...@gmail.com> wrote: > > I guess having some primitives for structured clone like behavior would be > nice. That too can be handled by use of Response.blob() and > FileReader[Sync]() on workers, but having primitives means that UAs could > optimize the structured clone behind the scenes instead of actually > creating Blobs.
If one side sends an entity body using a Blob or BufferSource and the other side reads it in the same fashion, then we can do a structured clone underneath and avoid HTTP serialisation costs. That’s an optimisation that might not even produce benefits if the data is going cross-process. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform