| Index: LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect-expected.txt
|
| diff --git a/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect-expected.txt b/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..89d256b651a40577370713bdd127f78622aeb5e4
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect-expected.txt
|
| @@ -0,0 +1,14 @@
|
| +CONSOLE ERROR: Refused to connect to 'http://127.0.0.1:8080/resources/redirect.php' because it violates the following Content Security Policy directive: "connect-src http://127.0.0.1:8000/js-test-resources/js-test.js http://127.0.0.1:8000/resources/redirect.php".
|
| +
|
| +[Worker] Test that basic EventSource cross-origin requests fail on blocked CSP redirect.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Starting worker: ../script-tests/eventsource-csp-redirect.js
|
| +PASS [Worker] es = new EventSource("http://127.0.0.1:8000/resources/redirect.php?code=307&cors_enabled&url=http://127.0.0.1:8080/resources/redirect.php") did not throw exception.
|
| +PASS [Worker] es.readyState is EventSource.CLOSED
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|