Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object

Anne van Kesteren wrote:
> 
> On Wed, 05 Apr 2006 22:56:28 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>> If that is indeed true we need to fix it I agree. Is there a sensible 
>> value we could set .status to for example?
> 
> Lets keep .status an HTTP status code. What about dispatching an abort 
> event on the object as I suggested? Not sure if that's appropriate for 
> this version though...

We have already talked about setting .status to -1 in some error 
conditions. Aborting is arguably an error condition.

/ Jonas

Received on Thursday, 6 April 2006 09:28:21 UTC