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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-deprecated-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/contentSecurityPolicy/source-list-parsing-deprecated-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-deprecated-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-deprecated-expected.txt
index 19cb944169da494e81be6c848bacb076dea8f00a..636d988d6a30ce72f9c5499447b0b012792d6e7e 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-deprecated-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-deprecated-expected.txt
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: The 'allow' directive has been replaced with 'default-src'. Please use that directive instead, as 'allow' has no effect.
-CONSOLE MESSAGE: The 'options' directive has been replaced with 'unsafe-inline' and 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directives. Please use those directives instead, as 'options' has no effect.
-CONSOLE MESSAGE: The 'policy-uri' directive has been removed from the specification. Please specify a complete policy via the Content-Security-Policy header.
+CONSOLE ERROR: The 'allow' directive has been replaced with 'default-src'. Please use that directive instead, as 'allow' has no effect.
+CONSOLE ERROR: The 'options' directive has been replaced with 'unsafe-inline' and 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directives. Please use those directives instead, as 'options' has no effect.
+CONSOLE ERROR: The 'policy-uri' directive has been removed from the specification. Please specify a complete policy via the Content-Security-Policy header.
Test that directives that predate the CSP 1.0 standard generate proper warnings to set developer expectations correctly.

Powered by Google App Engine
This is Rietveld 408576698