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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/javascript-mimetype-usecounters-expected.txt

Issue 1413193010: Add counters for various ways of loading scripts with bad mimetypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests which do work Created 5 years, 1 month 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/javascript-mimetype-usecounters-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/javascript-mimetype-usecounters-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/javascript-mimetype-usecounters-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ca5c0287ac62ca22df5e2548d1763a7292d7719
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/javascript-mimetype-usecounters-expected.txt
@@ -0,0 +1,15 @@
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+CONSOLE ERROR: Refused to execute script from 'http://127.0.0.1:8000/security/resources/javascript-mimetype.php?mimetype=image/foo' because its MIME type ('image/foo') is not executable.
+CONSOLE ERROR: Refused to execute script from 'http://localhost:8000/security/resources/javascript-mimetype.php?mimetype=image/bar' because its MIME type ('image/bar') is not executable.
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+ALERT: Correct
+

Powered by Google App Engine
This is Rietveld 408576698