Re: [websockets] structured clones

On Wed, 09 Sep 2009 19:41:38 +0200, Jonas Sicking <> wrote:
> On Wed, Sep 9, 2009 at 7:14 AM, Anne van Kesteren <>  
> wrote:
>> I believe it is the idea that Web Sockets will support sending and  
>> receiving structured clones. It might make sense to define that format  
>> sooner rather than later so implementations of Web Storage that support  
>> structured clones can use it.
> HTML5 already defines which objects can be "strucurally cloned". This
> is enough for webstorage. What remains to be defined if structured
> clones can be sent over websocket is to define a serialized format.
> However webstorage does not need such a serialized format as far as I
> can tell.

It does not need to expose it, but you do need to serialize to something  
as far as I can tell if you write it to disk. If the format for Web  
Sockets is clear maybe we have to only worry about the serialization of  
structured clones once.

Anne van Kesteren

Received on Wednesday, 9 September 2009 17:49:30 UTC