W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: [CORS] What constitutes a "network error"?

From: Alexey Proskuryakov <ap@webkit.org>
Date: Wed, 21 Jul 2010 13:14:01 -0700
Cc: Webapps WG <public-webapps@w3.org>
Message-id: <8EDF1933-3EC0-4502-ABB6-47DFAA73BC19@webkit.org>
To: Jonas Sicking <jonas@sicking.cc>

20.07.2010, в 14:37, Jonas Sicking написал(а):

> However I haven't been able to find a clear definition of what counts
> as a "network error". Does this include successful HTTP requests that
> return 4xx or 5xx status codes? Or just errors in the lower level of
> the stack, such as aborted TCP connections?


FWIW, I've been always assuming the latter. Blocking 4xx and 5xx responses would mean having a rather unexpected difference between same origin and cross origin XMLHttpRequest (the former lets JS code see such responses).

- WBR, Alexey Proskuryakov
Received on Wednesday, 21 July 2010 20:14:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT