Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / eventsource / eventsource-parse-event-stream-expected.txt
index 9ba0c27..8a4af08 100644 (file)
@@ -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