W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Structured clones

From: Mark S. Miller <erights@google.com>
Date: Wed, 10 Apr 2013 07:27:18 -0700
Message-ID: <CABHxS9jczGTBLQuyeYJ15wX7WE7kyq6beTC-DsZJr7zAb2UORA@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: es-discuss <es-discuss@mozilla.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
For those new to these lists, <
http://lists.w3.org/Archives/Public/public-script-coord/2011JulSep/0055.html>
may provide some context. The structured clone algorithm has changed since
then. But looking this over, I think most of these points are still
relevant. See also the rest of the thread starting at this message.


On Wed, Apr 10, 2013 at 2:45 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> The platform has the capability to make a structured clone of an
> object (and primitives):
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#safe-passing-of-structured-data
>
> This is used for history traversal as well as passing data between
> global objects that cannot reach other synchronously (e.g. a document
> and worker environment).
>
> Should this capability become part of JavaScript? When new objects
> such as Map are defined or such an object is implemented by a
> JavaScript library they can then "automatically" participate in the
> structured clone fun.
>
>
> --
> http://annevankesteren.nl/
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
    Cheers,
    --MarkM
Received on Wednesday, 10 April 2013 14:27:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:12 UTC