historical.html (473B)
1 <!doctype html> 2 <title>Historical embed element features should not be supported</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <div id=log></div> 6 <embed id=embed> 7 <script> 8 test(function() { 9 var elm = document.getElementById('embed'); 10 assert_equals(typeof elm, 'object', 'typeof'); 11 assert_throws_js(TypeError, function() { 12 elm(); 13 }); 14 }, 'embed legacycaller should not be supported'); 15 </script>