Closed Bug 918704 Opened 11 years ago Closed 8 years ago

[XHR2] abort() doesn't reset readyState to 0 before loadend event

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hsteen, Unassigned)

References

()

Details

Calling abort() should set readyState to UNSENT (0), and per spec this happens before loadend event fires.
Test cases:
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/abort-during-upload.htm
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/abort-event-order.htm
The fix in bug 918703 just made these tests pass. Marking as resolved.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.