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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 25 20:57:19 PST 2009


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





--- Comment #4 from William J. Edney <bedney at technicalpursuit.com>  2009-11-25 20:57:19 PST ---
Jeremy -

I guess its open to interpretation.

I assumed, as probably would most developers who are doing stuff at the JS
level, that '5 MB' would mean '5 million characters', because they would assume
a UTF-8 encoding. That very well be a poor assumption, but there it is.

I guess it would be a question for the spec committee. I would like to see one
of two solutions:

1. The spec is altered to specify its units as 'characters' rather than bytes.
2. The spec is altered so that I, from a JS interface, can specify the
encoding. In this case, I could specify UTF-8 and my data would fit into the
default quota.

#2 is preferable, IMO, because I know folks are going to be wanting to
eventually store binary data, etc. in the local store, so it wouldn't be wise
to put 'characters' into the spec.

Thoughts?

Thanks for the feedback :-)

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