Closed
Bug 618581
Opened 14 years ago
Closed 13 years ago
IndexedDB: Adjust quota for mobile use
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: azakai)
References
Details
(Whiteboard: [fennec-6])
Attachments
(1 file)
752 bytes,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
IndexedDB is designed to allow a website to store large quantities of data on disk somewhere. For desktop Firefox we prompt once to allow a website to create a database and then allow up to 50 MB of storage. If the website tries to use more than 50 MB we prompt again and, if the user agrees, we allow unlimited storage. I'm not sure how Fennec will want to handle this, but at the very least I expec that 50 MB is a bit large. That pref lives here: https://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js#102
Updated•14 years ago
|
Assignee: nobody → doug.turner
tracking-fennec: --- → 2.0b4+
Updated•14 years ago
|
tracking-fennec: ? → 2.0-
Comment 1•14 years ago
|
||
nothing to do here until indexeddb works in e10s.
Assignee: doug.turner → nobody
Updated•13 years ago
|
tracking-fennec: 2.0- → 2.0next+
Updated•13 years ago
|
Assignee: nobody → azakai
Assignee | ||
Comment 2•13 years ago
|
||
Not sure what we want to set this to. How about 5MB? Although most mobile phones these days have a few GB of storage, so maybe this isn't that important...
Comment 3•13 years ago
|
||
Is indexedDB even turned on for mobile yet?
Assignee | ||
Comment 4•13 years ago
|
||
There is a patch for that, waiting for review from bent, bug 619494.
Comment 5•13 years ago
|
||
depends where the data is stored. if the db is on the sdcard, it probably doesn't matter much.. however, if it is on internal memory, them maybe a lower limit is better.
Updated•13 years ago
|
Whiteboard: [fennec-6]
Updated•13 years ago
|
Attachment #525090 -
Flags: review?(mark.finkle)
Comment 6•13 years ago
|
||
Comment on attachment 525090 [details] [diff] [review] patch? This is good for now. I was going to suggest using the sdcard, but I realize a problem: * the sdcard might not exist whn the file is first created. we can't change locations now, the previously stored data would be lost * the sdcard could be removed, causing all the data to be lost. I think we should keep the data with the profile. We can already move the profile to an sdcard, so that's what we have to work with. Let's not add any extra complexity.
Attachment #525090 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 7•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4d304d0b409d
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
Can someone please provide some steps to reproduce for this bug?
Assignee | ||
Comment 9•13 years ago
|
||
STR could be to visit a website that uses IndexedDB, and requests 10MB more after the initial granting of permission. With this bug fixed, we should prompt for allowing the additional 10MB.
Updated•13 years ago
|
Flags: in-litmus?(martijn.martijn)
Updated•9 years ago
|
tracking-fennec: 2.0next+ → ---
Flags: in-litmus?(martijn.martijn)
You need to log in
before you can comment on or make changes to this bug.
Description
•