Index: LayoutTests/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-expected.txt |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d430a05917195166aaaea3ea3478c1e017e21ea |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-expected.txt |
@@ -0,0 +1,29 @@ |
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "default-src https:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (1/12) |
+CONSOLE ERROR: line 1: Refused to load the stylesheet 'http://127.0.0.1:8000/security/resources/cssStyle.css' because it violates the following Content Security Policy directive: "default-src https:". Note that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (2/12) |
+CONSOLE MESSAGE: line 15: PASS (3/12) |
+CONSOLE MESSAGE: line 15: PASS (4/12) |
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "default-src https:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (5/12) |
+CONSOLE ERROR: line 1: Refused to load the stylesheet 'http://127.0.0.1:8000/security/resources/cssStyle.css' because it violates the following Content Security Policy directive: "default-src https:". Note that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (6/12) |
+CONSOLE MESSAGE: line 15: PASS (7/12) |
+CONSOLE ERROR: line 1: Refused to load the stylesheet 'http://127.0.0.1:8000/security/resources/cssStyle.css' because it violates the following Content Security Policy directive: "default-src https:". Note that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (8/12) |
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "default-src https:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (9/12) |
+CONSOLE MESSAGE: line 15: PASS (10/12) |
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "default-src https:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (11/12) |
+CONSOLE ERROR: line 1: Refused to load the stylesheet 'http://127.0.0.1:8000/security/resources/cssStyle.css' because it violates the following Content Security Policy directive: "default-src https:". Note that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. |
+ |
+CONSOLE MESSAGE: line 15: PASS (12/12) |
+This test ensures that registering a scheme as bypassing CSP actually bypasses CSP. This test passes if only PASSes are generated. |