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

"Jonas Sicking" <jonas@sicking.cc>
>> Why do we need to find a solution for error handling? I thought that 
>> wasn't necessary for "version 1.0".
>
> Not having error handling at all will seriously cripple the usefulness of 
> the spec.

We've survived so far without error handling other than magic (and 
incomprehensible) status numbers from IE's implementation, and nothing from 
anywhere else.  Errors are rare, and thus virtually nothing you can do as an 
author ("the network's no longer there", erm okay then connect to this site 
and ...)

So I don't think error handling is important, as long as an error doesn't 
look like a valid response and readyState change fires and goes to 4, then 
errors will be generally handled the same as any other malformed response 
coming back from the server.  Dealing with hard network errors is rarely a 
requirement in web-applications, and even if it were possible with XHR, it 
would still not be possible with regular loaded content.

So whilst error is handy, not having it certainly wouldn't cripple the 
usefulness.

Cheers,

Jim. 

Received on Tuesday, 11 April 2006 10:23:50 UTC