Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<!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>