WebCore:
[WebKit-https.git] / LayoutTests / media / video-dom-loopstart.html
1 <video src=content/test.mp4 loopcount=2></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 video.play();
10 </script>