W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [websockets] structured clones

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 Sep 2009 19:48:42 +0200
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.uzz3rgbk64w2qv@annevk-t60>
On Wed, 09 Sep 2009 19:41:38 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> On Wed, Sep 9, 2009 at 7:14 AM, Anne van Kesteren <annevk@opera.com>  
> 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
http://annevankesteren.nl/
Received on Wednesday, 9 September 2009 17:49:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT