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

Side by Side Diff: LayoutTests/http/tests/eventsource/eventsource-status-code-states-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 states for different status codes. Should print a series of PAS S messages followed by DONE. 1 Test EventSource states for different status codes.
2 2
3 PASS: status code 200 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO SED 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 PASS: status code 204 resulted in states CONNECTING, CLOSED, CLOSED 4
5 PASS: status code 205 resulted in states CONNECTING, CLOSED, CLOSED 5
6 PASS: status code 202 resulted in states CONNECTING, CLOSED, CLOSED 6 PASS arrayCompare(states, tests[count].expectedStates) is true
7 PASS: status code 301 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO SED 7 PASS status code 200 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS ED
8 PASS: status code 302 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO SED 8 PASS arrayCompare(states, tests[count].expectedStates) is true
9 PASS: status code 303 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO SED 9 PASS status code 204 resulted in states CONNECTING, CLOSED, CLOSED
10 PASS: status code 307 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO SED 10 PASS arrayCompare(states, tests[count].expectedStates) is true
11 PASS: status code 404 resulted in states CONNECTING, CLOSED, CLOSED 11 PASS status code 205 resulted in states CONNECTING, CLOSED, CLOSED
12 PASS arrayCompare(states, tests[count].expectedStates) is true
13 PASS status code 202 resulted in states CONNECTING, CLOSED, CLOSED
14 PASS arrayCompare(states, tests[count].expectedStates) is true
15 PASS status code 301 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS ED
16 PASS arrayCompare(states, tests[count].expectedStates) is true
17 PASS status code 302 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS ED
18 PASS arrayCompare(states, tests[count].expectedStates) is true
19 PASS status code 303 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS ED
20 PASS arrayCompare(states, tests[count].expectedStates) is true
21 PASS status code 307 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS ED
22 PASS arrayCompare(states, tests[count].expectedStates) is true
23 PASS status code 404 resulted in states CONNECTING, CLOSED, CLOSED
12 DONE 24 DONE
25 PASS successfullyParsed is true
13 26
27 TEST COMPLETE
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698