Created attachment 582217 [details] [diff] [review]
We are still experimenting with indexedDB and for now there is no UI to show when we're hitting the quota limit. Until we figure out what is a reasonable size apps shoulb be allowed to do save as much as possible.
Comment on attachment 582217 [details] [diff] [review]
Let's file a followup for "real" quota management, but here's how I think it should work:
Trying to statically assign a quota to all apps is basically unsolvable. Even a soft quota, that generates a "Warning" dialog when the app hits it, is annoying and bad UX IMHO. What I think we should do is instead expose good tools for showing how much storage each app is using, like what existing OS's do. Then when storage gets low generally, we should present users with a general, unobtrusive "Storage is low" notification, and allow them to use simple UI to revoke storage for apps that they think are using too much data. In theory, this means the quota for apps evolves to, "as much as the user thinks it should be using", which is optimal.
(And apps that repeatedly violate their user-assigned quota get uninstalled, and lose popularity.)