Title: [176043] trunk/LayoutTests
Revision
176043
Author
[email protected]
Date
2014-11-12 15:22:36 -0800 (Wed, 12 Nov 2014)

Log Message

media/video-play-pause-exception.html is flakey.
https://bugs.webkit.org/show_bug.cgi?id=138670

Reviewed by Alexey Proskuryakov.

Work around race-condition behavior in HTMLMediaElement's resource selection algorithm.

* media/video-play-pause-exception.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (176042 => 176043)


--- trunk/LayoutTests/ChangeLog	2014-11-12 22:55:37 UTC (rev 176042)
+++ trunk/LayoutTests/ChangeLog	2014-11-12 23:22:36 UTC (rev 176043)
@@ -1,3 +1,14 @@
+2014-11-12  Jer Noble  <[email protected]>
+
+        media/video-play-pause-exception.html is flakey.
+        https://bugs.webkit.org/show_bug.cgi?id=138670
+
+        Reviewed by Alexey Proskuryakov.
+
+        Work around race-condition behavior in HTMLMediaElement's resource selection algorithm.
+
+        * media/video-play-pause-exception.html:
+
 2014-11-12  Alexey Proskuryakov  <[email protected]>
 
         Make Mac media-source test expectations future compatible

Modified: trunk/LayoutTests/media/video-play-pause-exception.html (176042 => 176043)


--- trunk/LayoutTests/media/video-play-pause-exception.html	2014-11-12 22:55:37 UTC (rev 176042)
+++ trunk/LayoutTests/media/video-play-pause-exception.html	2014-11-12 23:22:36 UTC (rev 176043)
@@ -14,6 +14,11 @@
 
     function onpause()
     {
+        // FIXME(138669): remove this hack once networkState changes in the synchronous section of the resource selection algorithm.
+        if (video.networkState == 3) {
+            setTimeout(onpause, 0);
+            return;
+        }
         testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
         endTest();
         consoleWrite("");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to