[b2g] Add indexedDB-unlimited permission to pre-installed apps

RESOLVED FIXED in mozilla12

Status

()

Core
General
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: vingtetun, Assigned: vingtetun)

Tracking

Trunk
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

Created attachment 582217 [details] [diff] [review]
Patch

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.
Attachment #582217 - Flags: review?(fabrice)
Comment on attachment 582217 [details] [diff] [review]
Patch

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.
Attachment #582217 - Flags: review?(fabrice) → review+
(And apps that repeatedly violate their user-assigned quota get uninstalled, and lose popularity.)
http://hg.mozilla.org/integration/mozilla-inbound/rev/f8c20866035f
Assignee: nobody → 21
Whiteboard: [inbound]
Target Milestone: --- → mozilla12

Comment 4

6 years ago
https://hg.mozilla.org/mozilla-central/rev/f8c20866035f
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.