diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 03:00:30 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 03:00:30 +0000 |
commit | 7e16abe5e18086d4b040a585db976810220d84c2 (patch) | |
tree | 7f92a6eb09e096e943815ab323e5acb27794ba28 /webkit | |
parent | 8971a009dd8f19295bc49dcf2c29065b1e7ffc6f (diff) | |
download | chromium_src-7e16abe5e18086d4b040a585db976810220d84c2.zip chromium_src-7e16abe5e18086d4b040a585db976810220d84c2.tar.gz chromium_src-7e16abe5e18086d4b040a585db976810220d84c2.tar.bz2 |
Rebaseline video-currentTime-set.html as the test is now running.
BUG=13907
TEST=should start passing
TBR=hclam
Review URL: http://codereview.chromium.org/318001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29757 0039d316-1c4b-4281-b951-d872f2087c98
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 |