Closed Bug 918772 Opened 11 years ago Closed 10 years ago

[XHR2] Returns real statusText for a failed redirect even when it's considered a network error

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 716491

People

(Reporter: hsteen, Unassigned)

References

()

Details

Test case:
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/send-redirect-bogus.htm 

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, when the error flag is set, statusText should return the empty string.
Fixed by patch in bug 716491.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.