Try to make this test less timing dependent.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2007 01:04:40 +0000 (01:04 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2007 01:04:40 +0000 (01:04 +0000)
        * http/tests/media/video-play-stall.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27801 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/media/video-play-stall.html

index a7d994c..51b0dd0 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-14  Antti Koivisto  <antti@apple.com>
+
+        Try to make this test less timing dependent.
+
+        * http/tests/media/video-play-stall.html:
+
 2007-11-14  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Hyatt.
index 4db5129..98cd831 100644 (file)
@@ -1,4 +1,4 @@
-<video src="http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&stallAt=80000"></video>
+<video></video>
 <p>Test that dataunavailable, timeupdate and waiting events are sent when media load stalls in the middle.</p>
 <script src=../../../media/video-test.js></script>
 <script>
@@ -11,5 +11,6 @@ waitForEvent('canplay', function () {
     waitForEvent('timeupdate');
     waitForEventAndEnd('waiting');
 } );
+video.src = "http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&stallAt=80000";
 video.play();
 </script>