[whatwg/xhr] final readystatechange (readyState === 3) (#161)

The specification does not tell to fire the final `readystatechange` event for `readyState === 3`, which is, seems, make the `readystatechange (readyState === 3)`  events not so useful - you have to add `onprogress` listener.

Test case:
A little modified test case for :
https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/event-readystatechange-loaded.htm
But also, check that responseText during readyState === 4 is the same as it was for readyState === 3.

Firefox fail this test. Other browsers do not, seems.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/161

Received on Friday, 6 October 2017 15:46:47 UTC