object-ignored-in-media-element.html (914B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>HTML Test: The embed element represents a document</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <meta name="assert" content="Check if the object element is ignored when used inside a media element"> 7 <script type="application/javascript"> 8 var nestingTest = async_test("Test <object> being ignored inside media element"); 9 onload = nestingTest.step_func_done(function() { 10 assert_true(true, "We got to a load event without loading things we should not load"); 11 }); 12 </script> 13 <body> 14 <video> 15 <object type="text/html" data="../resources/should-not-load.html" 16 test-description="<object> in <video>"></object> 17 </video> 18 <audio> 19 <object type="text/html" data="../resources/should-not-load.html" 20 test-description="<object> in <audio>"></object> 21 </audio> 22 </body>