blob: f6c4f2406a350011f2dd1458a53612beb704f598 [file] [log] [blame]
<!doctype html>
<title>invoking load by setting src on video not in a document</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
var v = document.createElement('video');
v.onloadstart = t.step_func(function() { t.done(); });
v.setAttribute('src','');
window.onload = t.step_func(function() { assert_unreached(); });
});
</script>