OLD | NEW |
1 CONSOLE ERROR: Refused to connect to 'http://127.0.0.1:8080/resources/redirect.p
hp' because it violates the following Content Security Policy directive: "connec
t-src http://127.0.0.1:8000/js-test-resources/js-test.js http://127.0.0.1:8000/r
esources/redirect.php". | 1 CONSOLE ERROR: Refused to connect to 'http://127.0.0.1:8080/resources/redirect.p
hp' because it violates the following Content Security Policy directive: "connec
t-src http://127.0.0.1:8000/js-test-resources/js-test.js http://127.0.0.1:8000/r
esources/redirect.php". |
2 | 2 |
3 [Worker] Test that basic EventSource cross-origin requests fail on blocked CSP r
edirect. | 3 [Worker] Test that basic EventSource cross-origin requests fail on blocked CSP r
edirect. |
4 | 4 |
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
6 | 6 |
7 | 7 |
8 Starting worker: ../script-tests/eventsource-csp-redirect.js | 8 Starting worker: ../script-tests/eventsource-csp-redirect-worker.php |
9 PASS [Worker] es = new EventSource("http://127.0.0.1:8000/resources/redirect.php
?code=307&cors_allow_origin=*&url=http://127.0.0.1:8080/resources/redirect.php")
did not throw exception. | 9 PASS [Worker] es = new EventSource("http://127.0.0.1:8000/resources/redirect.php
?code=307&cors_allow_origin=*&url=http://127.0.0.1:8080/resources/redirect.php")
did not throw exception. |
10 PASS [Worker] es.readyState is EventSource.CLOSED | 10 PASS [Worker] es.readyState is EventSource.CLOSED |
11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
12 | 12 |
13 TEST COMPLETE | 13 TEST COMPLETE |
14 | 14 |
OLD | NEW |