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 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT