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

ISSUE-39: Errors in XHR requests

From: Web APIs Issue Tracker <dean+cgi@w3.org>
Date: Mon, 13 Mar 2006 19:52:52 +0000 (GMT)
To: public-webapi@w3.org
Message-Id: <20060313195252.6EA0666364@dolph.w3.org>

ISSUE-39: Errors in XHR requests


Raised by: Dean Jackson
On product: XMLHttpRequest

We have yet to resolve what to do with errors in XHR requests, such as lack of
network, loops in redirects, etc.

There currently isn't interoperable behaviour. Using bogus statusCodes is
unnacceptable, as is throwing an exception that can only be caught on the global
object. A new value for readyState will break all content that is written
expecting there will never be a new value. One suggestion is to return a new
value for status (eg. -1) and set statusText to an error message.



Received on Monday, 13 March 2006 19:52:58 UTC

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