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

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

Powered by Google App Engine
This is Rietveld 408576698