Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698