W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: The Structured Clone Wars

From: Jason Orendorff <jason.orendorff@gmail.com>
Date: Fri, 15 Jul 2011 11:34:21 -0500
Message-ID: <CAPh8+Zpbk6RLJC7xN36MRck2QC=bpHn5jS5FVWeg76tWY=Xesg@mail.gmail.com>
To: Allen Wirfs-Brock <allen@wirfs-brock.com>
Cc: "Mark S. Miller" <erights@google.com>, public-script-coord@w3.org, es-discuss <es-discuss@mozilla.org>
On Fri, Jul 15, 2011 at 10:22 AM, Allen Wirfs-Brock
<allen@wirfs-brock.com> wrote:
> What happens when cloning an object  that is an "Object object" whose
> [[Prototype]] is not Object.prototype?

The original object's [[Prototype]] is entirely ignored.

During deserialization, the target global's initial Object.prototype
object is used as the new object's [[Prototype]].

Received on Friday, 15 July 2011 16:34:51 UTC

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