Index: LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt |
diff --git a/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt b/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt |
index e2c9bf1e57bcf7588f6a3e43e16735203a706540..ae64a7db9748805074c9e2664e376c94dd01c8be 100644 |
--- a/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt |
+++ b/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt |
@@ -1,12 +1,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: "img-src 'none'". |
+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: "img-src 'none'". |
ALERT: BLOCKED in main world |
-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: "img-src 'none'". |
+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: "img-src 'none'". |
ALERT: BLOCKED in isolated world |
ALERT: Starting to bypass main world's CSP: |
ALERT: LOADED in isolated world |
-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: "img-src 'none'". |
+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: "img-src 'none'". |
ALERT: BLOCKED in main world |
This test ensures that scripts run in isolated worlds marked with their own Content Security Policy aren't affected by the page's content security policy. Extensions, for example, should be able to load any resource they like. |