diff options
Diffstat (limited to 'webkit')
3 files changed, 30 insertions, 4 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/media/video-currentTime-set-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/media/video-currentTime-set-expected.txt new file mode 100644 index 0000000..6491f4f --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/media/video-currentTime-set-expected.txt @@ -0,0 +1,10 @@ +Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time + +EVENT(load) +EXPECTED (video.currentTime == '0') OK +RUN(video.currentTime = video.duration - 0.2) +EXPECTED (video.currentTime.toFixed(2) == '5.82') OK +RUN(video.play()) + +EVENT(ended) +END OF TEST diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/media/video-currentTime-set-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/media/video-currentTime-set-expected.txt new file mode 100644 index 0000000..6491f4f --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/media/video-currentTime-set-expected.txt @@ -0,0 +1,10 @@ +Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time + +EVENT(load) +EXPECTED (video.currentTime == '0') OK +RUN(video.currentTime = video.duration - 0.2) +EXPECTED (video.currentTime.toFixed(2) == '5.82') OK +RUN(video.play()) + +EVENT(ended) +END OF TEST diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-currentTime-set-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-currentTime-set-expected.txt index 91ee776..6491f4f 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-currentTime-set-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-currentTime-set-expected.txt @@ -1,4 +1,10 @@ -
-Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time
-
-
+Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time + +EVENT(load) +EXPECTED (video.currentTime == '0') OK +RUN(video.currentTime = video.duration - 0.2) +EXPECTED (video.currentTime.toFixed(2) == '5.82') OK +RUN(video.play()) + +EVENT(ended) +END OF TEST |