OS: Windows 7 → All
Hardware: x86_64 → All
See Also: → 658117
In order to take the pain out of using and developing web applications with persistent local storage, I would suggest we need the following: - a method to determine how much space is already used - a method to determine how much space is available - a method to prompt the user for access to more space (or have it done automatically as required) - applications should be able to request more space in advance in configurable chunks, to lower the frequency of requests (eg. one big chunk instead of many smaller chunks) If all the different storage mechanisms have separate quota / limits, then we will need the above methods to be defined for all of them. Personally, I would prefer it if all mechanisms shared the same quota, as this would simplify the user experience.
Note that in the Firefox indexedDB implementation you are initially granted 50MB of storage. Once you run out of those 50MB Firefox will automatically prompt the user to allow for more. If the user approves this the page is granted unlimited storage. So at the most the user will be faced with two prompts.
I am glad to hear it. I have been waiting for the IndexedDB implementations to drop the vendor prefixes, but once that happens I will be all over it. :) It would be terrific if this behaviour could be applied to localStorage, for consistency. It would be even better if this behaviour became part of the WebAPI standard, so that all browsers behaved the same way: https://bugzilla.mozilla.org/show_bug.cgi?id=673923
Considering comment #2 this bug is invalid (the requested implementation already exists). Reporter, please mark this bug accordingly (Resolved-Invalid). If you wish enhancements to be added to this implementation (as specified in comment #3), please file separate enhancement requests for them.
There are still storage mechanisms that have arbitrary limits without any means for the web developer or the user to increase, ie localStorage. As Gecko's indexedDB implementation is still vendor-prefixed, I can hardly recommend a mission critical web application be developed using it at this stage. I would not consider this bug closed until all persistent storage mechanisms are able to increase their storage quotas with the users permission.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to jokeyrhyme from comment #5) > I would not consider this bug closed until all persistent storage mechanisms > are able to increase their storage quotas with the users permission. Well, that's not going to happen for localStorage.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.