Index: LayoutTests/http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked-expected.txt |
diff --git a/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt b/LayoutTests/http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked-expected.txt |
similarity index 66% |
copy from LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt |
copy to LayoutTests/http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked-expected.txt |
index a925160de4484b9ab9428fd5056df618f9e619de..dafdb9606e69e9b0318994a254c8b73622ff304d 100644 |
--- a/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt |
+++ b/LayoutTests/http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked-expected.txt |
@@ -1,5 +1,5 @@ |
-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. |
+CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/contentTypeOptions/resources/script-with-header.pl?mime=application/json' because its MIME type ('application/json') 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". |