Reviewed by Maciej.
[WebKit-https.git] / LayoutTests / media / video-dom-loopcount.html
1 <video src=content/test.mp4 loopend=0.2s end=0.2s autoplay></video>
2 <script src=video-test.js></script>
3 <script>
4 video.loopCount = 2;
5 test("video.loopCount == 2");
6 test("video.currentLoop == 0");
7 test("video.getAttribute('loopCount') == 2");
8 waitForEventTestAndEnd('ended', "video.currentLoop == 1");
9 </script>