This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
It would be nice to be able to notify script that some data may have been lost due to disk corruption or other failure. This was discussed some in [thread], with the leading idea being an attribute on the upgradeneeded and success events that are fired at open requests. The attribute's could be called "dataLoss" with values including "none", "total", or "partial". The chrome implementation has been started, see [chromebug]. [thread] http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0355.html [chromebug] https://code.google.com/p/chromium/issues/detail?id=172626
Marking RESOLVED LATER to denote that it should be considered for V2, not V1.
We have heard from web application developers that they want even more transparency into what is causing data loss. Chrome is going to ship a dataLossMessage alongside dataLoss on the upgradeneeded event, as described in this thread: http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0108.html
As dgrogan@ noted, we shipped IDBVersionChangeEvent#dataLoss and IDBVersionChangeEvent#dataLossMessage in Chrome, and it's seeing use. Since they're not widely publicized entry points we're open to alternate suggestions.
Moved to https://github.com/w3c/IndexedDB/issues/30