<body> | |
<script src=video-test.js></script> | |
<video controls> | |
<source src=content/test.mp4> | |
</video> | |
<script> | |
video = media = document.getElementsByTagName('video')[0]; | |
waitForEvent("loadstart", function () { | |
testExpected("relativeURL(video.currentSrc) ", "content/test.mp4"); | |
endTest(); | |
}); | |
</script> |