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

Side by Side Diff: LayoutTests/http/tests/eventsource/workers/eventsource-eof-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 that EventSource discards event data if there is no newline before eof.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Starting worker: ../script-tests/eventsource-eof.js
7 PASS [Worker] evt.type is "message"
8 PASS [Worker] evt.data is "DATA1"
9 PASS [Worker] evt.lastEventId is "1"
10 PASS [Worker] evt.type is "message"
11 PASS [Worker] evt.data is "DATA2"
12 PASS [Worker] evt.lastEventId is "2"
13 PASS [Worker] evt.type is "message"
14 PASS [Worker] evt.data is "DATA3"
15 PASS [Worker] evt.lastEventId is "3"
16 PASS [Worker] evt.type is "msg"
17 PASS [Worker] evt.data is "DATA"
18 PASS [Worker] evt.lastEventId is "3.1"
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698