[Webkit-unassigned] [Bug 31791] localStorage quota exceeded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 22 20:48:33 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31791





--- Comment #2 from William J. Edney <bedney at technicalpursuit.com>  2009-11-22 20:48:33 PST ---
Jeremy -

Thanks for the quick reply (and for responding on vacation!).

The database size on the Mac version of my testing is 5369856 bytes before
throwing the error.

It is throwing the error after loading 'foo' and trying to load 'bar'. If your
suspicion about UTF-16 is correct, the limit of the number of characters would
be 2,560,000 for 5MB of storage. Given my numbers below, that would be correct.
'foo' could completely load, but 'bar' would exceed the quota.

So, maybe a more accurate statement would be that the default quota will be '5
million characters' :-).

That would imply storing up to 10MB, if the encoding was to stay at UTF-16.

Cheers,

- Bill

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list