| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-unsafe-dynamic-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-unsafe-dynamic-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-unsafe-dynamic-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c57f99d5f499a40694fa6470435e671779b17cef
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-unsafe-dynamic-expected.txt
|
| @@ -0,0 +1,27 @@
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?write' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?write-defer' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?write-async' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?write' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?defer-write-defer' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/loaded.js?defer-write-async' because it violates the following Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
|
| +
|
| +This is a testharness.js-based test.
|
| +PASS Script injected via 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Async script injected via 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Deferred script injected via 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Script injected via 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +PASS Deferred script injected via 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +PASS Async script injected via 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +PASS Script injected via deferred 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Async script injected via deferred 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Deferred script injected via deferred 'appendChild' is allowed with 'unsafe-dynamic'.
|
| +PASS Script injected via deferred 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +PASS Deferred script injected via deferred 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +PASS Async script injected via deferred 'document.write' is not allowed with 'unsafe-dynamic'.
|
| +Harness: the test ran to completion.
|
| +
|
|
|