W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: Structured clone in WebStorage

From: Darin Fisher <darin@chromium.org>
Date: Fri, 3 Dec 2010 10:42:36 -0800
Message-ID: <AANLkTimnKeQvwK5Wsn0pPSYu7nL6v09UzDqw2Kkj_V-4@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Arthur Barstow <Art.Barstow@nokia.com>, Maciej Stachowiak <mjs@apple.com>, ext Adrian Bateman <adrianba@microsoft.com>, Jeremy Orlow <jorlow@chromium.org>, public-webapps WG <public-webapps@w3.org>
I will also add that I think WebStorage (well LocalStorage) is terrible from
a performance point of view because it is synchronous, and I'd be very happy
if we could discourage its usage and give people more reasons to adopt a
better API like IndexedDB.


On Fri, Dec 3, 2010 at 10:41 AM, Darin Fisher <darin@chromium.org> wrote:

> Have you guys considered what happens when a Blob is present?  I'm very
> concerned about that case since WebStorage is a synchronous API.  If storing
> a Blob in LocalStorage involves synchronous disk IO, then I'm pretty sure it
> is something I would object to implementing.  I don't think there is a
> hand-wavy answer about performing a file copy asynchronously in the
> background.  What if the file copy fails?
> -Darin
> On Thu, Dec 2, 2010 at 1:45 PM, Anne van Kesteren <annevk@opera.com>wrote:
>> On Thu, 02 Dec 2010 21:51:29 +0100, Maciej Stachowiak <mjs@apple.com>
>> wrote:
>>> We think this feature would be straightforward to implement in
>>> Safari/WebKit, and we think it is a useful feature. We would like to
>>> implement it at some point. I can't give a specific timeline.
>> I am not sure if it is straightforward to implement in Opera, but this
>> applies to us as well.
>> --
>> Anne van Kesteren
>> http://annevankesteren.nl/
Received on Friday, 3 December 2010 18:43:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:14 UTC