Closed Bug 472513 Opened 13 years ago Closed 12 years ago

dom.storage.default_quota value of 5MB causes unresponsive script on maemo

Categories

(Core :: DOM: Core & HTML, defect)

ARM
Maemo
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec 1.0b3+ ---

People

(Reporter: jmaher, Unassigned)

References

Details

in the mochitest/chrome tests, we have chrome/dom/tests/mochitest/chrome/test_domstorage.xul which as one of the 54 tests it does is add 5MB of data to the domstorage.globalStorage.  This causes fennec on maemo to run into unresponsive script errors.

Since this limit is browser specific (5MB in firefox) we should set it lower to something like 1MB.  In my test, I was able to get 640KB to work by setting this in the user_pref(..) and modifying the test file domstorage_global.js#88 to have a value of 4091 instead of 32767.  

this is a workaround needed for automation.  In manual testing, I was able to get 1280KB to work on maemo.

We should decide:
 - what is the default value for fennec
 - how should the automation handle this
Blocks: 473562
moving to the test the component it lives in.
Component: General → DOM: Core & HTML
Product: Fennec → Core
QA Contact: general → general
Let's pick a good default
tracking-fennec: --- → ?
tracking-fennec: ? → 1.0b3+
Should be fixed by bug 448073
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.