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.testRunner) | 9 if (window.testRunner) |
10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
11 window.onload = function() { | 11 window.onload = function() { |
12 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(); | 12 internals.updateStyleAndLayoutIgnorePendingStylesheetsAndRunPostLayoutTa
sks(); |
13 }; | 13 }; |
14 </script> | 14 </script> |
15 <object type="image/jpeg" data="nested_bad_objects.php?object"> | 15 <object type="image/jpeg" data="nested_bad_objects.php?object"> |
16 <object type="image/jpeg" data="nested_bad_objects.php?object" /> | 16 <object type="image/jpeg" data="nested_bad_objects.php?object" /> |
17 </object> | 17 </object> |
18 PASS - nested image objects with bad mimetype do not cause a crash. | 18 PASS - nested image objects with bad mimetype do not cause a crash. |
19 </html> | 19 </html> |
OLD | NEW |