OLD | NEW |
1 <? | 1 <? |
2 if (isset($_GET['object'])) { | 2 if (isset($_GET['object'])) { |
3 header("Content-Type: nothing/bad-type"); | 3 header("Content-Type: nothing/bad-type"); |
4 exit(); | 4 exit(); |
5 } | 5 } |
6 ?> | 6 ?> |
7 <html> | 7 <html> |
8 <script> | 8 <script> |
9 if (window.layoutTestController) | 9 if (window.layoutTestController) |
10 layoutTestController.dumpAsText(); | 10 layoutTestController.dumpAsText(); |
11 </script> | 11 </script> |
12 <object type="image/jpeg" data="nested_bad_objects.php?object"> | 12 <object type="image/jpeg" data="nested_bad_objects.php?object"> |
13 <object type="image/jpeg" data="nested_bad_objects.php?object" /> | 13 <object type="image/jpeg" data="nested_bad_objects.php?object" /> |
14 </object> | 14 </object> |
15 PASS - nested image objects with bad mimetype do not cause a crash. | 15 PASS - nested image objects with bad mimetype do not cause a crash. |
16 </html> | 16 </html> |
OLD | NEW |