OLD | NEW |
1 Test EventSource reconnect after end of event stream. Should print a series of P
ASS messages followed by DONE. | 1 Test EventSource reconnect after end of event stream. |
2 | 2 |
3 PASS: state is CONNECTING | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 PASS: state is OPEN | |
5 PASS: got lastEventId "77" | |
6 PASS: state is CONNECTING | |
7 PASS: state is OPEN | |
8 PASS: Last-Event-ID header and the lastEventId property were correct | |
9 PASS: state is CLOSED | |
10 DONE | |
11 | 4 |
| 5 |
| 6 PASS es.readyState is es.CONNECTING |
| 7 PASS es.readyState is es.OPEN |
| 8 PASS evt.lastEventId is "77" |
| 9 PASS es.readyState is es.CONNECTING |
| 10 PASS es.readyState is es.OPEN |
| 11 PASS evt.data is "77" |
| 12 PASS evt.lastEventId is "77" |
| 13 PASS es.readyState is es.CLOSED |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
| 17 |
OLD | NEW |