* media/video-currentTime-set-expected.txt:
* media/video-currentTime-set.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27791
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-11-14 Antti Koivisto <antti@apple.com>
+
+ Try to make this test less timing dependent.
+
+ * media/video-currentTime-set-expected.txt:
+ * media/video-currentTime-set.html:
+
2007-11-14 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
2007-11-14 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
function () {
video.currentTime = video.duration - 0.2;
video.play();
function () {
video.currentTime = video.duration - 0.2;
video.play();
+ waitForEvent('timeupdate',
+ function () {
+ setTimeout(function () { test("false") }, 800);
+ });
+ waitForEventAndEnd('ended');
-waitForEvent('play',
-function () {
- setTimeout(function () { test("false") }, 400);
-});
-waitForEventAndEnd('ended');
-