Closed Bug 1096182 Opened 10 years ago Closed 10 years ago

Error trying to create IndexedDB from extension

Categories

(Core :: Storage: IndexedDB, defect)

34 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1092090

People

(Reporter: sergi, Unassigned)

Details

I am getting the following error in the browser console when attempting to create a new IndexedDB from a Firefox extension: IndexedDB UnknownErr: OpenDatabaseHelper.cpp:1853 "asyncStorage: can't open database:" "UnknownError" The code I am using to create it is the following: https://gist.github.com/sergi/e68f6b3cca60bcf39fd9 It's worth noting that this code used to work until recently to create a DB.
Summary: Error trying to create IndexedDB in extension → Error trying to create IndexedDB from extension
Sergi, did you use this profile with a newer version of FF/B2G (35 or newer) and then use the same profile on the 34 branch? If so maybe this is the same as bug 1092090.
Flags: needinfo?(sergi.mansilla)
As a matter of fact, I did. If that's the case, that's quite an awful error, I just lost a lot of information and that's very upsetting. Looks like it should have a much higher priority than it currently does. I have a more complete error report, but still not very useful: DOMError { name: "UnknownError", message: "The operation failed for reasons unrelated to the database itself and not covered by any other error code." }
Flags: needinfo?(sergi.mansilla)
Well, luckily your data isn't actually deleted or anything, it just can't be accessed from within FF until we figure out what to do in the other bug. Let's dupe this over.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.