W3C home > Mailing lists > Public > public-webapi@w3.org > May 2006

Re: XMLHttpRequest.abort()

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 14 May 2006 12:00:08 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0605141157290.21459@dhalsim.dreamhost.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT