Closed Bug 711358 Opened 13 years ago Closed 13 years ago

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

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: vingtetun, Assigned: vingtetun)

Details

(Whiteboard: [inbound])

Attachments

(1 file)

Attached patch PatchSplinter 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.
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
https://hg.mozilla.org/mozilla-central/rev/f8c20866035f
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: