| CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. Status code: 200 |
| CONSOLE MESSAGE: EventSource cannot load http://localhost:8000/eventsource/resources/es-cors-basic.py?count=1 due to access control checks. |
| CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. Status code: 200 |
| CONSOLE MESSAGE: EventSource cannot load http://localhost:8000/eventsource/resources/es-cors-basic.py?count=2 due to access control checks. |
| Test that basic EventSource cross-origin requests fail until they are allowed by the Access-Control-Allow-Origin header. Should print a series of PASS messages followed by DONE. |
| |
| PASS: got error event and readyState is CLOSED |
| PASS: got error event and readyState is CLOSED |
| PASS: got cross-origin message event with data "DATA1" and lastEventId "77" |
| PASS: got cross-origin message event with data "DATA2" |
| DONE |
| |