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

PERSISTENT storage in Chrome #14

Closed garcia556 closed 11 years ago

garcia556 commented 11 years ago

filer.js invokes quota request implicitly while idb.filesystem.js does not. Is it as designed?

Before calling requestFileSystem with PERSISTENT in Chrome webkitStorageInfo.requestQuota call is needed first.

Maybe it would be useful to include quota request into requestFileSystem / DOMFileSystem?

ebidel commented 11 years ago

I'm not sure the library should allocate quota, but you're saying polyfill the requestQuota api? I think that's a reasonable, but might also be a separate file to load since it's a separate API