2

Is HTML5 Web Storage cleared when the browser clears its cache? If it does, many people like me may lose data if they accidentally clear cache? or like in this comment ...

Since HTML5 local storage is kept separate from js cookies (like Silverlight, Gears, Flash), it opens up a world of 3rd party privacy issues for HTML5 as these objects will likely NOT get deleted with a clear cache or delete temporary data

... where web storage is not cleared, but leads to privacy issues?

4

1 回答 1

2

引用Mozilla 开发者中心

当时间范围为“一切”时(通过 nsICookieManager::removeAll),可以通过“工具 -> 清除最近历史记录 -> Cookies”清除 DOM 存储

请注意,Flash cookie OTOH 很难删除。

于 2010-05-29T17:12:59.630 回答