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

Re: XMLHttpRequest.abort()

From: Mark Baker <distobj@acm.org>
Date: Mon, 15 May 2006 16:50:52 -0400
Message-ID: <c70bc85d0605151350u70e67b35s977d1eaeb85dfbe9@mail.gmail.com>
To: "Jim Ley" <jim@jibbering.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>

On 5/14/06, Jim Ley <jim@jibbering.com> wrote:
> "Ian Hickson" <ian@hixie.ch>
> >> Do we really want to define in that level of detail?
> No.


> >>   When invoked, this method MUST cancel any network activity for which
> >>   the object is responsible and reset the object.
> >
> > That's fine.
> And more than enough.

I think we could be more specific about what "reset the object" means,
unless we want developers to be exposed to the implementation of the
object.  Some post-conditions would be useful, I think.  For example,
does abort() clear (session) cookies?  HTTP auth credentials?  Does
any other (indirectly) observable state get changed?  Anybody know?
If not, I guess some tests are in order ...

Received on Monday, 15 May 2006 20:50:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC