[whatwg] Web Storage: apparent contradiction in spec

Adrian Sutton adrian.sutton at ephox.com
Thu Aug 27 07:52:56 PDT 2009


On 27/08/2009 15:47, "Maciej Stachowiak" <mjs at apple.com> wrote:
> - Cached for convenience - discarding this will affect performance but not
> functionality.
> - Useful for offline use - discarding this will prevent some data from being
> accessed when offline.
> - Critical for offline use - discarding this will prevent the app storing this
> data from working offline at all.
> - Critical user data - discarding this will lead to permanent user data loss.
> 
The only catch being that if the web app decides this for itself, a
malicious script or tracking cookie will be marked as critical user data
when in fact the user would disagree.

On the plus side, it would mean a browser could default to not allowing
storage in the critical user data by default and then let users whitelist
just the sites they want.  This could be through an evil dialog, or just a
less intrusive indicator somewhere ­ the website itself would be able to
detect that it couldn¹t save and warn the user in whatever way is most
appropriate.

Regards,

Adrian Sutton. 
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090827/4b174d26/attachment-0002.htm>


More information about the whatwg mailing list