blob: f27584a9ea87ce4430592be643e27ad0ab05ac49 [file] [log] [blame]
CONSOLE ERROR: Access to resource at 'http://127.0.0.1:8080/eventsource/resources/es-cors-basic.php' (redirected from 'http://127.0.0.1:8000/resources/redirect.php?code=307&url=http://127.0.0.1:8080/eventsource/resources/es-cors-basic.php') from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
[Worker] Test that basic EventSource cross-origin requests fail on redirect.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: ../script-tests/eventsource-cors-redirect.js
PASS [Worker] es = new EventSource("/resources/redirect.php?code=307&url=http://127.0.0.1:8080/eventsource/resources/es-cors-basic.php") did not throw exception.
PASS [Worker] es.readyState is EventSource.CLOSED
PASS successfullyParsed is true
TEST COMPLETE