You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no prompt from user was requested quota should be 50MB
If there was prompt and the user authorized the quota should be the amount of free disk space left?
The text was updated successfully, but these errors were encountered:
Sounds right. I'm not sure of the top of my head how to get the indexedb
usage, but I will look into it. If you have any suggestions they are more
than welcome.
well it seems there is no way to do this using IndexedDB. If browsers implement quota-api then it would be trivial (but then this polyfill would be redundant - see #2). Please let me know if you have any ideas about how it could be done and I will re-open this issue.
I guess, this has to be coupled with the fliesystem polyfill for IDB.
For example if you ask for temporary using window.webkitRequestFileSystem for less than 50MB that would be the quota the method would return the number you asked for
If you ask for Persistant, than the quota would return maxInt or something.
I know this is far from ideal...
If no prompt from user was requested quota should be 50MB
If there was prompt and the user authorized the quota should be the amount of free disk space left?
The text was updated successfully, but these errors were encountered: