W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [IndexedDB] Inform script of corruption recovery

From: Kyle Huey <me@kylehuey.com>
Date: Mon, 25 Feb 2013 10:56:40 -0800
Message-ID: <CAP045AoowrRp6nwW95EBkBiumpPV5JHAwYv1+FbajiT0v-K0Fw@mail.gmail.com>
To: David Grogan <dgrogan@chromium.org>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
On Tue, Feb 12, 2013 at 1:49 PM, David Grogan <dgrogan@chromium.org> wrote:

> I think the answer to that question impacts how we design this.
>>
>
> I'm assuming you mean because a surgical recovery could leave the version
> intact and make a new property on the upgradeneeded event inaccessible? In
> that case we could also put the property on the success event that comes in
> response to open().
>

Well I was thinking more like being able to recover one object store and
not others.  But this does raise an interesting question.  If we can
restore to the same db version, but not identical contents, how would we
indicate that to the page?  Is there anything more useful we can provide
than "someDataWasLost=true"?  Doesn't seem like it.

- Kyle

(Sorry for the delay responding, been on vacation).
Received on Monday, 25 February 2013 18:57:07 GMT

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