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

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

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
« no previous file with comments | « LayoutTests/http/tests/security/mime-type-execute-as-html-16.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/mime-type-execute-as-html-16-expected.txt
diff --git a/LayoutTests/http/tests/security/mime-type-execute-as-html-03-expected.txt b/LayoutTests/http/tests/security/mime-type-execute-as-html-16-expected.txt
similarity index 64%
copy from LayoutTests/http/tests/security/mime-type-execute-as-html-03-expected.txt
copy to LayoutTests/http/tests/security/mime-type-execute-as-html-16-expected.txt
index b8b6bff0b9de7315016dd354a509938390ba535d..151f75ba4e00ecdbaf18f128f70ffad99b775ff7 100644
--- a/LayoutTests/http/tests/security/mime-type-execute-as-html-03-expected.txt
+++ b/LayoutTests/http/tests/security/mime-type-execute-as-html-16-expected.txt
@@ -1,8 +1,8 @@
-This test verifies that resources served with a mime type of 'application/javascript' is not rendered as HTML. It passes if no "FAIL: ..." alert is present, and if the textual content of the frame is visible below.
+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.
--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
-<script>alert('FAIL: application/javascript');</script>
+<script>alert('FAIL: application/x-foo+json');</script>
« no previous file with comments | « LayoutTests/http/tests/security/mime-type-execute-as-html-16.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698