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

Unified Diff: LayoutTests/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-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/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt
diff --git a/LayoutTests/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt b/LayoutTests/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt
index 271039dbc73ec2a506cf3e7469114cd19327b24f..a925160de4484b9ab9428fd5056df618f9e619de 100644
--- a/LayoutTests/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt
+++ b/LayoutTests/platform/linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: Refused to execute script from 'http://127.0.0.1:8000/security/contentTypeOptions/resources/script-with-header.pl' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
+CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/contentTypeOptions/resources/script-with-header.pl' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Check that script sent with an 'X-Content-Type-Options: nosniff' header is correctly blocked if no 'Content-Type' header is present.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Powered by Google App Engine
This is Rietveld 408576698