Re: [IndexedDB] Ways to detect database manual deletions (#73)

See https://w3c.github.io/IndexedDB/#database-connection and search for "forced flag". If the connection is closed by the UA (not script) then a `"close"` event is fired at the connection. Note that only Chrome (so far as I know) currently implements this.

To know if a database was deleted, just re-open, at which point the `oldVersion` will be 0.



---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/73#issuecomment-199887627

Received on Tuesday, 22 March 2016 16:20:12 UTC