OLD | NEW |
(Empty) | |
| 1 CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resourc
es/es-cors-credentials.php?count=1. A wildcard '*' cannot be used in the 'Access
-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://
127.0.0.1:8000' is therefore not allowed access. |
| 2 CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resourc
es/es-cors-credentials.php?count=2. A wildcard '*' cannot be used in the 'Access
-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://
127.0.0.1:8000' is therefore not allowed access. |
| 3 CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resourc
es/es-cors-credentials.php?count=3. Credentials flag is 'true', but the 'Access-
Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials. |
| 4 [Worker] Test that EventSource cross-origin requests with credentials fail until
the correct CORS headers are sent. |
| 5 |
| 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 7 |
| 8 |
| 9 Starting worker: ../script-tests/eventsource-cors-with-credentials.js |
| 10 PASS [Worker] es = new EventSource("http://127.0.0.1:8080/eventsource/resources/
es-cors-credentials.php?count=1", {'withCredentials': true}) did not throw excep
tion. |
| 11 PASS [Worker] es.withCredentials is true |
| 12 PASS [Worker] count != 4 && count != 5 is true |
| 13 PASS [Worker] es = new EventSource("http://127.0.0.1:8080/eventsource/resources/
es-cors-credentials.php?count=2", {'withCredentials': true}) did not throw excep
tion. |
| 14 PASS [Worker] es.withCredentials is true |
| 15 PASS [Worker] count != 4 && count != 5 is true |
| 16 PASS [Worker] es = new EventSource("http://127.0.0.1:8080/eventsource/resources/
es-cors-credentials.php?count=3", {'withCredentials': true}) did not throw excep
tion. |
| 17 PASS [Worker] es.withCredentials is true |
| 18 PASS [Worker] count != 4 && count != 5 is true |
| 19 PASS [Worker] es = new EventSource("http://127.0.0.1:8080/eventsource/resources/
es-cors-credentials.php?count=4", {'withCredentials': true}) did not throw excep
tion. |
| 20 PASS [Worker] es.withCredentials is true |
| 21 PASS [Worker] evt.origin.indexOf('http://127.0.0.1:8080') === 0 is true |
| 22 PASS [Worker] evt.data is "DATA1" |
| 23 PASS [Worker] evt.lastEventId is "77" |
| 24 PASS [Worker] count is 5 |
| 25 PASS [Worker] evt.origin.indexOf('http://127.0.0.1:8080') === 0 is true |
| 26 PASS [Worker] count is 5 |
| 27 PASS [Worker] evt.data is "DATA2" |
| 28 PASS successfullyParsed is true |
| 29 |
| 30 TEST COMPLETE |
| 31 |
OLD | NEW |