Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt

Issue 345004: Rebaseline media tests after http://trac.webkit.org/changeset/50063 . (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt
index 641ec41956e14fe3ea89ad1dc47c6ce90fb6e7d4..f8d8f7e4b36458d8bcd7a80ef8656fa88613a4ff 100644
--- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-seek-past-end-paused-expected.txt
@@ -1,18 +1,17 @@
-Test that seeking paused video past it's duration time sets currentTime to duration and leaves video paused.
-
-RUN(video.src = 'content/test.ogv')
-RUN(video.load())
-
-EVENT(load)
-EXPECTED (video.paused == 'true') OK
-EXPECTED (video.ended == 'false') OK
-RUN(video.play())
-
-EXPECTED (video.paused == 'false') OK
-EXPECTED (mediaElement.currentTime > '0') OK
-
-EXPECTED (mediaElement.currentTime == 'mediaElement.duration') OK
-EXPECTED (video.ended == 'true') OK
-
-END OF TEST
-
+Test that seeking paused video past it's duration time sets currentTime to duration and leaves video paused.
+
+RUN(video.src = 'content/test.ogv')
+RUN(video.load())
+
+EVENT(canplaythrough)
+EXPECTED (video.paused == 'true') OK
+EXPECTED (video.ended == 'false') OK
+RUN(video.play())
+
+EXPECTED (video.paused == 'false') OK
+EXPECTED (mediaElement.currentTime > '0') OK
+
+EXPECTED (mediaElement.currentTime == 'mediaElement.duration') OK
+EXPECTED (video.ended == 'true') OK
+
+END OF TEST

Powered by Google App Engine
This is Rietveld 408576698