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

Side by Side 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 unified diff | Download patch
OLDNEW
1 This test verifies that resources served with a mime type of 'application/javasc ript' is not rendered as HTML. It passes if no "FAIL: ..." alert is present, and if the textual content of the frame is visible below. 1 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.
2 2
3 3
4 4
5 -------- 5 --------
6 Frame: '<!--framePath //<!--frame0-->-->' 6 Frame: '<!--framePath //<!--frame0-->-->'
7 -------- 7 --------
8 <script>alert('FAIL: application/javascript');</script> 8 <script>alert('FAIL: application/x-foo+json');</script>
OLDNEW
« 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