[XHR] statusText, status and network errors

Test case http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/send-redirect-bogus.htm has an interesting behaviour in Gecko. Last test fails with output:
assert_equals: expected "" but got "WEBSRT MARKETING"

Test returns a bogus redirect like 

HTTP/1.1 303 WEBSRT MARKETING
Location: foobar:someone@example.org

Per spec, this is a network error. Now, the spec does *not* explicitly say that exposing .statusText for network errors is wrong, although the test asserts that it is. Maybe some spec clarification is required? Or maybe it makes sense to pass status and statusText on to the script even if redirects fail, and we should spec that?
-Hallvord

Received on Friday, 20 September 2013 11:21:11 UTC