Title: [276336] trunk/LayoutTests
Revision
276336
Author
[email protected]
Date
2021-04-20 17:41:45 -0700 (Tue, 20 Apr 2021)

Log Message

[BigSur Wk1] media/video-ended-event-negative-playback.html is flaky text failure
https://bugs.webkit.org/show_bug.cgi?id=221106
<rdar://problem/73724911>

Reviewed by Jer Noble.

Seeking to 0.5 and playing backwards to the beginning of the file may take longer
than 2500ms, so increase the timeout to 5000ms and don't start the failure timer
until playback begins.

* media/video-ended-event-negative-playback-expected.txt:
* media/video-ended-event-negative-playback.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (276335 => 276336)


--- trunk/LayoutTests/ChangeLog	2021-04-21 00:22:30 UTC (rev 276335)
+++ trunk/LayoutTests/ChangeLog	2021-04-21 00:41:45 UTC (rev 276336)
@@ -1,3 +1,19 @@
+2021-04-20  Eric Carlson  <[email protected]>
+
+        [BigSur Wk1] media/video-ended-event-negative-playback.html is flaky text failure
+        https://bugs.webkit.org/show_bug.cgi?id=221106
+        <rdar://problem/73724911>
+
+        Reviewed by Jer Noble.
+        
+        Seeking to 0.5 and playing backwards to the beginning of the file may take longer
+        than 2500ms, so increase the timeout to 5000ms and don't start the failure timer
+        until playback begins.
+
+        * media/video-ended-event-negative-playback-expected.txt:
+        * media/video-ended-event-negative-playback.html:
+        * platform/mac-wk1/TestExpectations:
+
 2021-04-20  Robert Jenner  <[email protected]>
 
         [ BigSur Debug ] http/tests/security/webaudio-render-remote-audio-blocked-no-crossorigin.html is a flakey timeout

Modified: trunk/LayoutTests/media/video-ended-event-negative-playback-expected.txt (276335 => 276336)


--- trunk/LayoutTests/media/video-ended-event-negative-playback-expected.txt	2021-04-21 00:22:30 UTC (rev 276335)
+++ trunk/LayoutTests/media/video-ended-event-negative-playback-expected.txt	2021-04-21 00:41:45 UTC (rev 276336)
@@ -1,5 +1,7 @@
 
 EVENT(canplaythrough)
+EVENT(seeked)
+EVENT(playing)
 EVENT(ended)
 END OF TEST
 

Modified: trunk/LayoutTests/media/video-ended-event-negative-playback.html (276335 => 276336)


--- trunk/LayoutTests/media/video-ended-event-negative-playback.html	2021-04-21 00:22:30 UTC (rev 276335)
+++ trunk/LayoutTests/media/video-ended-event-negative-playback.html	2021-04-21 00:41:45 UTC (rev 276336)
@@ -12,10 +12,10 @@
                     {
                         video.currentTime = 0.5;
                         video.playbackRate = -1;
-                        video.play();
-                        failTestIn(2500);
                     });
                 }
+                waitForEventOnce('seeked',  () => { video.play(); });
+                waitForEventOnce('playing', () => { failTestIn(5000); });
         </script>
     </head>
     <body _onload_="start()">

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (276335 => 276336)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-04-21 00:22:30 UTC (rev 276335)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-04-21 00:41:45 UTC (rev 276336)
@@ -1232,8 +1232,6 @@
 
 webkit.org/b/221009 fast/harness/render-tree-as-text-options.html [ Pass Failure ]
 
-webkit.org/b/221106 [ BigSur ] media/video-ended-event-negative-playback.html [ Pass Failure ]
-
 webkit.org/b/208477 [ Catalina ] accessibility/mac/test.mp3/boot.xml [ Skip ]
 webkit.org/b/208479 [ Catalina ] accessibility/mac/test.mp3/root.xml [ Skip ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to