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

Re: Exposing structured clone as an API?

From: Kyle Huey <me@kylehuey.com>
Date: Thu, 23 Apr 2015 18:31:59 -0700
Message-ID: <CAP045AqdH4vLXpjHzykT9VqY=o=Mh4KVVuJuHPxrT7rv6OabgA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Web Applications Working Group WG <public-webapps@w3.org>
On Thu, Apr 23, 2015 at 6:06 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 4/23/15 6:34 PM, Elliott Sprehn wrote:
>>
>> Have you benchmarked this? I think you're better off just writing your
>> own clone library.
>
>
> That requires having a list of all objects browsers consider clonable and
> having ways of cloning them all, right?  Maintaining such a library is
> likely to be a somewhat demanding undertaking as new clonable objects are
> added...
>
> -Boris
>

Today it's not demanding, it's not even possible.  e.g. how do you
duplicate a FileList object?

- Kyle
Received on Friday, 24 April 2015 01:32:27 UTC

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