blob: d659bff19928b89e1fb3e35ae0d3a8666ec379b3 [file] [log] [blame]
<video autoplay src=content/test.mp4 controls></video>
<script src=video-test.js></script>
<script>
video.end = 0.5;
test("video.end == 0.5");
test("video.getAttribute('end') == '0.5s'");
waitForEventTestAndEnd('ended', "video.currentTime == 0.5");
</script>