Re: XMLHttpRequest.abort()

On Sun, 14 May 2006, Anne van Kesteren wrote:
>
> On Wed, 26 Apr 2006 16:22:49 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > > This has been asked a couple of times before. At some point "reset" will
> > > be defined and it will say that all members of the object are set to
> > > their initial value (as if you create a new instance of the object yes,
> > > I suppose)...
> > 
> > Hopefully it will also include a requirement that any active connections
> > are dropped, and so forth?
> 
> Do we really want to define in that level of detail?

Yes.


> Currently it says:
> 
>   When invoked, this method MUST cancel any network activity for which
>   the object is responsible and reset the object.

That's fine.

It's important to specify this because it can end up being something the 
author relies on (e.g. a CGI script could fail in different ways 
depending on how the UA handles the connection, etc).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 14 May 2006 12:00:28 UTC