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

Structured clones

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 10 Apr 2013 10:45:37 +0100
Message-ID: <CADnb78gdz1CxH3jocZ9m1MFbe1gXdpDf6M6FMq5=K2jY9owhHA@mail.gmail.com>
To: es-discuss <es-discuss@mozilla.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
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/
Received on Wednesday, 10 April 2013 09:46:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:48 UTC