WebCore:
[WebKit-https.git] / LayoutTests / media / video-dom-loopcount-expected.txt
index 0473d1a..efa7ed9 100644 (file)
@@ -1,6 +1,9 @@
-TEST(video.loopCount == 2) OK
+Test that playcount DOM attribute causes playback to end after right number of repeats.
+
+TEST(video.playCount == 3) OK
 TEST(video.currentLoop == 0) OK
-TEST(video.getAttribute('loopCount') == 2) OK
-EVENT(ended) TEST(video.currentLoop == 1) OK
+TEST(video.getAttribute('playCount') == 3) OK
+RUN(video.play())
+EVENT(ended) TEST(video.currentLoop == 2) OK
 END OF TEST