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

Benjamin Smedberg benjamin at smedbergs.us
Thu Sep 3 16:17:03 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/3/09 5:06 PM, Aryeh Gregor wrote:
> On Thu, Sep 3, 2009 at 4:25 PM, Benjamin Smedberg<benjamin at smedbergs.us> wrote:
>> * When the script sets document.cookie, it calculates the delta with the
>> original data and "commit" the changes.
> 
> What if there's a conflict with other changes that happened in the meantime?

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

- --BDS
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKoE5vSSwGp5sTYNkRAhNzAKCb8bvv51i0es73UI8zLgJ+j7d/IwCg1e2K
XYAcugpbUpEqLRgz8SONvxI=
=uf1l
-----END PGP SIGNATURE-----



More information about the whatwg mailing list