You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the recent addition for deleteDatabase stating:
Delete db. If this fails for any reason, return an appropriate error (e.g. "QuotaExceededError" or "UnknownError" DOMException).
...I am guessing that the use of "QuotaExceededError" was a carry-over from the open example as it wouldn't seem to me to be a valid error one would encounter on attempting to delete a database.
The text was updated successfully, but these errors were encountered:
brettz9
changed the title
Nit in deleteDatabase error example
Nit about deleteDatabase error example
Apr 27, 2017
It's plausible if the implementation's backing store adds tombstones rather than immediately deleting information (as leveldb does). It'd be a poor implementation that didn't allow for deletes in this case, however (Chrome special cases delete-only transactions, etc to be "free")
I'm going to leave this as is, as I want to imply that "UnknownError" should be the last choice. This text is pretty squishy anyway ("appropriate error ... e.g. ..." in normative text?)
For the recent addition for
deleteDatabase
stating:...I am guessing that the use of "QuotaExceededError" was a carry-over from the
open
example as it wouldn't seem to me to be a valid error one would encounter on attempting to delete a database.The text was updated successfully, but these errors were encountered: