[whatwg] XMLHttpRequest abort

Hallvord Reiar Michaelsen Steen hallvord at hallvord.com
Wed Jun 22 01:14:41 PDT 2005


> abort 
> Cancels any network activity for which the object is responsible 
> and returns readyState to 0 (Uninitialised).

If the connection is synchronous, browsers differ: FireFox aborts the 
connection if abort() is called from a timeout thread, IE6 and Opera 
8 do not. FireFox's behaviour lets script authors use any "timeout" 
they prefer, thought using a setTimeout may be a bit clunky. Can we 
standardise this behaviour?
Hallvord Reiar Michaelsen Steen

More information about the whatwg mailing list