<!doctype html> | |
<title>invoking load by setting src</title> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
<div id=log></div> | |
<video></video> | |
<script> | |
async_test(function(t) { | |
var v = document.querySelector('video'); | |
v.onloadstart = t.step_func(function() { t.done(); }); | |
v.setAttribute('src', ''); | |
window.onload = t.step_func(function() { assert_unreached(); }); | |
}); | |
</script> |