<video controls></video> | |
<script src=video-test.js></script> | |
<script> | |
testExpected("video.currentSrc", ""); | |
video.src = "content/test.mp4"; | |
testExpected("video.currentSrc", ""); | |
waitForEvent('load', function () { | |
testExpected("relativeURL(video.currentSrc)", "content/test.mp4"); | |
endTest(); | |
} ); | |
video.load(); | |
</script> |