Title: [199824] trunk/LayoutTests
Revision
199824
Author
eric.carl...@apple.com
Date
2016-04-21 11:11:17 -0700 (Thu, 21 Apr 2016)

Log Message

LayoutTest http/tests/media/hls/video-controls-live-stream.html is sometimes flaky
https://bugs.webkit.org/show_bug.cgi?id=156851
<rdar://problem/25792102>

Reviewed by Daniel Bates.

* http/tests/media/hls/video-controls-live-stream.html: Only listen for events once because
  we don't care if they fire more often.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (199823 => 199824)


--- trunk/LayoutTests/ChangeLog	2016-04-21 18:10:34 UTC (rev 199823)
+++ trunk/LayoutTests/ChangeLog	2016-04-21 18:11:17 UTC (rev 199824)
@@ -1,3 +1,14 @@
+2016-04-21  Eric Carlson  <eric.carl...@apple.com>
+
+        LayoutTest http/tests/media/hls/video-controls-live-stream.html is sometimes flaky
+        https://bugs.webkit.org/show_bug.cgi?id=156851
+        <rdar://problem/25792102>
+
+        Reviewed by Daniel Bates.
+
+        * http/tests/media/hls/video-controls-live-stream.html: Only listen for events once because
+          we don't care if they fire more often.
+
 2016-04-21  Daniel Bates  <daba...@apple.com>
 
         Add tests for <area ping>

Modified: trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html (199823 => 199824)


--- trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html	2016-04-21 18:10:34 UTC (rev 199823)
+++ trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html	2016-04-21 18:11:17 UTC (rev 199824)
@@ -8,8 +8,8 @@
 
             function start() {
                 video = document.getElementById('video');
-                waitForEvent('canplaythrough', function() { video.play(); });
-                waitForEvent('play', playing);
+                waitForEventOnce('canplaythrough', function() { video.play(); });
+                waitForEventOnce('play', playing);
                 waitForEventAndFail('stalled');
                 video.src = ""
             }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to