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

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

Issue 1885703003: Make testharness.js tests fail on uncaught exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover script changes Created 4 years, 8 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-with-error-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-with-error-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-with-error-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bf64027f252d635a616f3b984a1b91449798805
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked-with-error-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/contentTypeOptions/resources/script-with-header.pl?mime=image/png' because its MIME type ('image/png') is not executable, and strict MIME type checking is enabled.
+This is a testharness.js-based test.
+PASS 'X-Content-Type-Options: nosniff;' throws error when script blocked.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698