First time opening database in Firefox gives error
Closed this issue · 4 comments
brailateo commented
in function get (line 266 in the source file at this moment), at line:
var getTransaction = this.db.transaction([this.storeName], this.consts.READ_ONLY);
A mutation operation was attempted on a database that did not allow mutations
In Chromium (Linux) works fine, on Firefox 14.0.1, Linux, I got the error, after a Shift-F5, full reload of the page and next attempt, everything works ok. So I presume it's a bug related only to the first time opening (creating) of the database file.
Teo
jensarps commented
Thanks for reporting!
The "Works-only-after-reload" has also been reported in #8. I'm on it.
brailateo commented
Any good news?
jensarps commented
Not yet. I'm currently doing a complete re-write of the whole thing while trying to maintain as much of the API as possible.
jensarps commented
Fixed with current version of IDBWrapper. #goodNews ;)