[whatwg] Web Storage: apparent contradiction in spec
bzbarsky at MIT.EDU
Mon Aug 31 11:58:37 PDT 2009
Jens Alfke wrote:
> Local storage is a significant change from the browser's current data
> model, and I think that (no offense) browser developers are not used to
> taking care of user-critical data for longer than the duration of a DOM
> tree or POST request. It's a change in perspective. Coming as I do from
> a client-software world, it's actually an eye-opener to me that this is
> even controversial.
It's controversial because, no offense, browser developers don't trust
the website author, nor should the users. At least to a first
This is a critical difference from client software, for better or worse.
We could restrict local storage to explicitly trusted sites and then not
treat it as cookies; would that be preferable? It might be.
Alternately, it could be treated like cookies except for explicitly
trusted sites... or something.
More information about the whatwg