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

@annevk ,

It seems, the "Comet streaming" is not supported by the specification
There is a page with a code example: https://msdn.microsoft.com/en-us/library/cc304135(v=vs.85).aspx .
It will not work:
1) The spec allows to NOT fire ANY event (progress and readystatechange) in case the second HTTP chunk arrives within 50ms interval since the first.
2) The spec allows to NOT fire the final readystatechange(3) event at all.

By the way, It seems, Firefox and Chrome set the 50ms timer instead of not firing the event as said by: 
```
2. If not roughly 50ms have passed since these subsubsubsteps were last invoked, then terminate these subsubsubsteps.
```


-- 
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#issuecomment-335079569

Received on Monday, 9 October 2017 07:07:57 UTC