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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt

Issue 2135753002: Update supported javascript mimetypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asanka@ review Created 4 years, 5 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: third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt
index 0be20b0930759421d0900fe3d233d19d6ba9fe66..f4a4751f63831c7a8cb607de609213e95899cdc4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt
@@ -3,7 +3,6 @@ CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/co
CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/contentTypeOptions/resources/script-with-header.pl?mime=text/html' because its MIME type ('text/html') 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?mime=text/vbs' because its MIME type ('text/vbs') 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?mime=text/vbscript' because its MIME type ('text/vbscript') 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?mime=text/x-javascript' because its MIME type ('text/x-javascript') 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 the MIME type isn't scripty.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Powered by Google App Engine
This is Rietveld 408576698