W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

Re: Exposing structured clone as an API?

From: Robin Berjon <robin@w3.org>
Date: Fri, 24 Apr 2015 11:08:15 +0200
Message-ID: <553A07FF.2060407@w3.org>
To: Anne van Kesteren <annevk@annevk.nl>, Ted Mielczarek <ted@mozilla.com>
CC: public-webapps <public-webapps@w3.org>, Katelyn Gadd <kg@luminance.org>
On 24/04/2015 02:18 , Anne van Kesteren wrote:
> On Thu, Apr 23, 2015 at 3:02 PM, Ted Mielczarek <ted@mozilla.com> wrote:
>> Has anyone ever proposed exposing the structured clone algorithm directly as
>> an API?
> There has been some talk about moving structured cloning into
> ECMAScript proper and exposing the primitives. But TC39 does not seem
> particularly receptive unless it comes with a way for someone to
> participate in the structured cloning algorithm with custom objects.

Does this have to be any more complicated than adding a toClone() 
convention matching the ones we already have?

Robin Berjon - http://berjon.com/ - @robinberjon
Received on Friday, 24 April 2015 09:08:20 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC