| Index: LayoutTests/http/tests/eventsource/eventsource-parse-event-stream-expected.txt
|
| diff --git a/LayoutTests/http/tests/eventsource/eventsource-parse-event-stream-expected.txt b/LayoutTests/http/tests/eventsource/eventsource-parse-event-stream-expected.txt
|
| index 9ba0c279f7c855e5ffbfa0dd573c82701f2ba2bf..8a4af082fa4e4a2dac7a91dc06383eb2f0162208 100644
|
| --- a/LayoutTests/http/tests/eventsource/eventsource-parse-event-stream-expected.txt
|
| +++ b/LayoutTests/http/tests/eventsource/eventsource-parse-event-stream-expected.txt
|
| @@ -1,14 +1,25 @@
|
| -Test EventSource text/event-stream parsing. Should print a series of PASS messages followed by DONE.
|
| -
|
| -PASS: got open event
|
| -PASS: received event with two newlines
|
| -PASS: received event with data "simple"
|
| -PASS: received event with data spanning multiple lines
|
| -PASS: received event and lastEventId is "1"
|
| -PASS: received event and lastEventId is still "1"
|
| -PASS: received event and lastEventId has been cleared
|
| -PASS: got open event from server
|
| -PASS: received event and the event name has been reset
|
| -PASS: received event with data that contains a colon
|
| +Test EventSource text/event-stream parsing.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS es = new EventSource("resources/event-stream.php"); did not throw exception.
|
| +PASS got open event
|
| +PASS evt.data is "\n\n"
|
| +PASS evt.data is "simple"
|
| +PASS evt.data is "spanning\nmultiple\n\nlines\n"
|
| +PASS evt.data is "id is 1"
|
| +PASS evt.lastEventId is "1"
|
| +PASS evt.data is "id is still 1"
|
| +PASS evt.lastEventId is "1"
|
| +PASS evt.data is "no id"
|
| +PASS evt.lastEventId is ""
|
| +PASS got open event from server
|
| +PASS evt.data is "a message event with the name \"message\""
|
| +PASS evt.data is "a line ending with crlf\na line with a : (colon)\na line ending with cr"
|
| +PASS count is 7
|
| DONE
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
|
|
|
|