Re: Exposing structured clone as an API?

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