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

Side by Side 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: Added DOMImplementation::isJSONMIMEType() and use it to resolve default encodings 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText(); 7 testRunner.dumpChildFramesAsText();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>This test verifies that resources served with a mime type of 'application /json' 12 <p>This test verifies that resources served with a mime type of 'application /x-foo+json'
13 is not rendered as HTML. It passes if no "FAIL: ..." alert is present, and i f the 13 is not rendered as HTML. It passes if no "FAIL: ..." alert is present, and i f the
14 textual content of the frame is visible below.</p> 14 textual content of the frame is visible below.</p>
15 <iframe src="resources/send-mime-types.php?mt=application%2Fjson"></iframe> 15 <iframe src="resources/send-mime-types.php?mt=application%2Fx-foo%2Bjson"></ iframe>
pfeldman 2013/12/05 17:18:53 Lets leave original here as well.
sof 2013/12/05 19:32:44 Hmm, not sure what you mean. You want the test rem
pfeldman 2013/12/06 11:12:29 I just see that you are removing the "resources/se
sof 2013/12/06 11:16:16 Isn't that the diff similarity running riot?
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698