Anne van Kesteren (2013-04-10T09:45:37.000Z)
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/
domenic at domenicdenicola.com (2013-09-08T00:51:16.350Z)
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.