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

Unified Diff: LayoutTests/http/tests/security/mime-type-execute-as-html-16.html

Issue 94893003: Support for json media types as (non-image) mime types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test via synthetic NetworkRequest Created 7 years 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: LayoutTests/http/tests/security/mime-type-execute-as-html-16.html
diff --git a/LayoutTests/http/tests/security/mime-type-execute-as-html-02.html b/LayoutTests/http/tests/security/mime-type-execute-as-html-16.html
similarity index 90%
copy from LayoutTests/http/tests/security/mime-type-execute-as-html-02.html
copy to LayoutTests/http/tests/security/mime-type-execute-as-html-16.html
index 32494c09f18ded02dac7fbdb29f64b23ef20b098..d7abd75868589de4d49d5b9429bc75e0f77c9fd4 100644
--- a/LayoutTests/http/tests/security/mime-type-execute-as-html-02.html
+++ b/LayoutTests/http/tests/security/mime-type-execute-as-html-16.html
@@ -9,9 +9,9 @@
</script>
</head>
<body>
- <p>This test verifies that resources served with a mime type of 'application/json'
+ <p>This test verifies that resources served with a mime type of 'application/x-foo+json'
is not rendered as HTML. It passes if no "FAIL: ..." alert is present, and if the
textual content of the frame is visible below.</p>
- <iframe src="resources/send-mime-types.php?mt=application%2Fjson"></iframe>
+ <iframe src="resources/send-mime-types.php?mt=application%2Fx-foo%2Bjson"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698