Re: Structured clone in WebStorage

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.

-Darin



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