Title: [89435] trunk/LayoutTests
Revision
89435
Author
[email protected]
Date
2011-06-22 09:03:55 -0700 (Wed, 22 Jun 2011)

Log Message

2011-06-22  Eric Carlson  <[email protected]>

        Reviewed by Dan Bernstein.

        video-loop.html sometimes fails on slow system
        https://bugs.webkit.org/show_bug.cgi?id=63143

        * media/video-loop.html: Don't seek if an exception will be generated.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (89434 => 89435)


--- trunk/LayoutTests/ChangeLog	2011-06-22 15:57:33 UTC (rev 89434)
+++ trunk/LayoutTests/ChangeLog	2011-06-22 16:03:55 UTC (rev 89435)
@@ -1,3 +1,12 @@
+2011-06-22  Eric Carlson  <[email protected]>
+
+        Reviewed by Dan Bernstein.
+
+        video-loop.html sometimes fails on slow system
+        https://bugs.webkit.org/show_bug.cgi?id=63143
+
+        * media/video-loop.html: Don't seek if an exception will be generated.
+
 2011-06-22  Matthew Delaney  <[email protected]>
 
         Fixing burning mac SL trees. These tests's expected results needed

Modified: trunk/LayoutTests/media/video-loop.html (89434 => 89435)


--- trunk/LayoutTests/media/video-loop.html	2011-06-22 15:57:33 UTC (rev 89434)
+++ trunk/LayoutTests/media/video-loop.html	2011-06-22 16:03:55 UTC (rev 89435)
@@ -10,6 +10,11 @@
     
             function play()
             {
+                if (video.readyState < HTMLMediaElement.HAVE_METADATA) {
+                    setTimeout(play, 100);
+                    return;
+                }
+
                 if (++playCount > 1)
                     return;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to