ebidel / idb.filesystem.js

HTML5 Filesystem API polyfill using IndexedDB
https://www.npmjs.com/package/idb.filesystem.js
Other
487 stars 46 forks source link

Polyfill no longer works in Firefox 36.0.4 for Mac #34

Closed woranl closed 8 years ago

woranl commented 9 years ago

When I launch the Basic Demo using Firefox 36.0.4 for Mac, I got the following errors from the Console:

"TypeError: idb_.db is null" on line 900 "UnknownError" on line 727

This Polyfill used to work fine, but recent Firefox seems to not like it.... any idea why?

guypaskar commented 9 years ago

There were many changes in indexedDB in ff 36. The api was changed (mainly dealing with persistent/temporary storage types)

woranl commented 9 years ago

It seems like there is something wrong with indexedDB.open in the FF 36. I tried to launch other indexedDB demo online, and they all seem to fail at .open(). I then tried to downgrade from FF 36 to FF 35, and the Polyfill works again.

guypaskar commented 9 years ago

As I said , things have changed between ff 35 and ff 36... specifically in .open

Docs will be released soon.

woranl commented 9 years ago

This has nothing to do with API changes. It is a Firefox 36 bug. I tried renaming the storage folder in Firefox > Profiles to "storageBackup" and restart Firefox. After restarting and relaunching the indexedDB app, Firefox rebuilt a new storage folder. This fixes the issue with indexedDB on Firefox 36. Likely related to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1110067

havenchyk commented 9 years ago

Same here for 36.0.4 on Windows 7.

woranl commented 9 years ago

@havenchyk, check this out https://bugzilla.mozilla.org/show_bug.cgi?id=1143003 You may be able to help pin point this bug

ebidel commented 8 years ago

The latest release should fix things. I didn't see any errors when testing but add to nuke by profile's storage folder because I often go back and forth between FF stable and nightly.

https://www.npmjs.com/package/idb.filesystem.js

Please reopen if this isn't fixed.