[Chromium] Unreviewed gardening
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2013 03:44:03 +0000 (03:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2013 03:44:03 +0000 (03:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109779

Rebaseline http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html
on Linux after r142683.

Patch by Alan Cutter <alancutter@chromium.org> on 2013-02-13

* platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142844 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt [new file with mode: 0644]

index c0141954a79f92af76c87334b1619e85485f717d..8b70bbd8103825609eb0e22f0cd17499a7ef90a1 100644 (file)
@@ -1,3 +1,13 @@
+2013-02-13  Alan Cutter  <alancutter@chromium.org>
+
+        [Chromium] Unreviewed gardening
+        https://bugs.webkit.org/show_bug.cgi?id=109779
+
+        Rebaseline http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html
+        on Linux after r142683.
+
+        * platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt: Added.
+
 2013-02-13   Vineet Chaudhary  <rgf748@motorola.com>
 
         HTMLCollections namedItem() methods should return null than undefined for empty collections.
diff --git a/LayoutTests/platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt b/LayoutTests/platform/chromium-linux/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt
new file mode 100644 (file)
index 0000000..271039d
--- /dev/null
@@ -0,0 +1,11 @@
+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.
+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".
+
+
+PASS window.scriptsSuccessfullyLoaded is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+