- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 21 Jun 2011 17:03:11 +0200
- To: Olli@pettay.fi, "Jonas Sicking" <jonas@sicking.cc>
- Cc: public-webapps@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
On Sat, 14 May 2011 00:17:55 +0200, Jonas Sicking <jonas@sicking.cc> wrote: > Yeah, I think we can get away with this. > > The one case where it seems that Gecko and the spec differentiate for > the readystatechange event is that gecko dispatches readystatechange > when going to the DONE state even if the network request failed during > a sync-load. The spec only dispatches it for successful loads. > > In other words, Gecko always dispatches readystatechange (with > .readyState set to 4) before send() returns. Hmm, send() either returns and dispatches the event, or it throws an exception, for synchronous requests. -- Anne van Kesteren http://annevankesteren.nl/
Received on Tuesday, 21 June 2011 15:03:49 UTC