resource-selection-invoke-set-src-not-in-document.html (455B)
1 <!doctype html> 2 <title>invoking load by setting src on video not in a document</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <div id=log></div> 6 <script> 7 async_test(function(t) { 8 var v = document.createElement('video'); 9 v.onloadstart = t.step_func(function() { t.done(); }); 10 v.setAttribute('src',''); 11 window.onload = t.step_func(function() { assert_unreached(); }); 12 }); 13 </script>