Re: [IndexedDB] Inform script of corruption recovery

It will be good, if we can provide data priority per database and/or per
object store.

Web app already assume Indexeddb data is temporary, recovery process are in
place at the beginning after database is successfully open. So silently
drop all data and set version to 0 is good way to go. I think detail reason
are not necessary.

After opening, database should not corrupt. But quota exceed error do
happen. It is very difficult and messy to handle that issue.

If these corruption happen, data are lost according to their priority will
be good enough for most situation. It is easy for both sides (developer and
browser implementation).

Kyaw

Received on Monday, 20 May 2013 03:14:43 UTC