W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

XHR and the storage mutex

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Mar 2009 08:50:27 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: public-webapps@w3.org
Message-ID: <Pine.LNX.4.62.0903260846460.25058@hixie.dreamhostps.com>

HTML5 now has a "storage mutex" concept to cope with cookies being set in 
a multiprocess UA architecture without having scripts be exposed to race 
conditions.

This affects XHR in a couple of ways.

For both sync and async XHR, we should add a must-level requirement that 
UAs are to "obtain the storage mutex" (term of art defined in HTML5) 
before setting cookies.

For sync XHR, we should add a must-level requirement that UAs are to 
"release the storage mutex" (storage mutex is a term of art defined in 
HTML5) at the start of the sync process and again immediately after 
setting cookies.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 26 March 2009 08:51:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT