2d21195d13f62c480e8f7a8f53b28da5b7aca812
[WebKit-https.git] / LayoutTests / media / video-dom-loopstart.html
1 <video src=content/test.mp4 loopcount=2 autoplay></video>
2 <script src=video-test.js></script>
3 <script>
4 video.loopStart = 1.0;
5 test("video.loopStart==1.0");
6 test("video.getAttribute('loopstart') == '1s'");
7 waitForEvent('play', function () { video.currentTime = 500; });
8 waitForEventTestAndEnd('timeupdate', "video.currentTime.toFixed(1) && video.currentLoop==1");
9 </script>