--- /home/clopez/webkit/webkit/layout-test-results/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/http/tests/security/contentSecurityPolicy/register-bypassing-scheme-partial-actual.txt @@ -1,30 +1,18 @@ -CONSOLE MESSAGE: 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: Refused to load http://127.0.0.1:8000/security/resources/abe.png because it appears in neither the img-src directive nor the default-src directive of the Content Security Policy. CONSOLE MESSAGE: line 15: PASS (1/12) -CONSOLE MESSAGE: 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: Refused to load http://127.0.0.1:8000/security/resources/cssStyle.css because it appears in neither the style-src directive nor the default-src directive of the Content Security Policy. CONSOLE MESSAGE: line 15: PASS (2/12) CONSOLE MESSAGE: line 15: PASS (3/12) CONSOLE MESSAGE: line 15: PASS (4/12) -CONSOLE MESSAGE: 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 MESSAGE: 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 16: FAIL (5/12) +CONSOLE MESSAGE: line 16: FAIL (6/12) CONSOLE MESSAGE: line 15: PASS (7/12) -CONSOLE MESSAGE: 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 MESSAGE: 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 16: FAIL (8/12) +CONSOLE MESSAGE: line 16: FAIL (9/12) CONSOLE MESSAGE: line 15: PASS (10/12) -CONSOLE MESSAGE: 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: Refused to load http://127.0.0.1:8000/security/resources/abe.png because it appears in neither the img-src directive nor the default-src directive of the Content Security Policy. CONSOLE MESSAGE: line 15: PASS (11/12) -CONSOLE MESSAGE: 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: Refused to load http://127.0.0.1:8000/security/resources/cssStyle.css because it appears in neither the style-src directive nor the default-src directive of the Content Security Policy. 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.