On 27/08/2009 15:47, "Maciej Stachowiak" <m...@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/>