Re: calling abort method on XMLHttpRequest instance fires onreadystatechange with readyState 4

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Martijn wrote:
> That code was added with bug 258768.

Actually, no.  Bug 258768 touched the code, but didn't add it.  The code was 
added in bug 218236.  See in particular 
https://bugzilla.mozilla.org/show_bug.cgi?id=218236#c11 for comparisons to IE 
6.0 behavior.  Note the inconsistency in IE behavior depending on the value of 
readyState when abort() is called (1 and 2 give different behavior).

We could probably emulate this inconsistent behavior....

Has someone raised this with the web apis WG, since they're currently working on 
specifying XMLHttpRequest?

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.