Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: LayoutTests/http/tests/eventsource/eventsource-reconnect-expected.txt

Issue 347043002: Rework EventSource tests for better Worker test coverage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move out CORS tests Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698