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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing-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/report-only-report-uri-missing-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing-expected.txt
index 37d4ec8baf15acd67e55ffef70b05560bb446fc9..361223bebe0bc2bc28be59c701179e74565f05b2 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing-expected.txt
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing-expected.txt
@@ -1,2 +1,2 @@
-CONSOLE MESSAGE: line 5: The Content Security Policy 'script-src 'unsafe-inline';' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
+CONSOLE ERROR: line 5: The Content Security Policy 'script-src 'unsafe-inline';' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
This test passes if a console message is present, warning about the missing 'report-uri' directive.

Powered by Google App Engine
This is Rietveld 408576698