[whatwg] Storage mutex and cookies can lead to browser deadlock

On Fri, Sep 4, 2009 at 8:17 AM, Benjamin Smedberg <benjamin at smedbergs.us>wrote:

> What kind of conflict? There is no need to "merge" individual cookies:
> whichever one was set (or removed) last wins.


I think this strategy would work fine for cookies since the HTTP side of
them is inherently racy.  I think such behavior would be pretty
counter-intuitive for localStorage, though.

If we did go with this strategy, I think we could give access to shared
workers, and someone could use those if they needed better "atomicity".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090904/1673de6f/attachment.htm>

Received on Thursday, 3 September 2009 18:17:17 UTC