OLD | NEW |
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> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
OLD | NEW |