This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Mozilla like to see a code in IDBDatabaseException that would indicate that the the user denied permission to use IndexedDB, much like PERMISSION_DENIED in geolocation.
Could this not be NOT_ALLOWED_ERR? In any case, it is a sub-category of the non-transient errors. If we want to add a new one, its value should be 6.
Well, it's more like RECOVERABLE_ERR, but having a specific error so the site knows that the user denied it seems a bit more usable. The site could then say, "Hey, you denied access, but we can't actually doing anything without that access".
Are you planning on working on this soon? If not, maybe you should assign it to dave.null@w3.org
Fixed: http://dvcs.w3.org/hg/IndexedDB/rev/e27c07ead321 I also removed some unused error codes and make the remaining ones consecutive and non-zero