Title: [268101] branches/safari-610-branch/LayoutTests
Revision
268101
Author
[email protected]
Date
2020-10-06 17:23:23 -0700 (Tue, 06 Oct 2020)

Log Message

Cherry-pick r267836. rdar://problem/70024631

    http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html is flaky
    https://bugs.webkit.org/show_bug.cgi?id=217171
    <rdar://problem/65085139>

    Reviewed by Eric Carlson.

    * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
    Setting the video currentTime too close to the end makes it render transparent frames.
    Make it so that we try using the middle of the video content where we expect green content.

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

Modified Paths

Diff

Modified: branches/safari-610-branch/LayoutTests/ChangeLog (268100 => 268101)


--- branches/safari-610-branch/LayoutTests/ChangeLog	2020-10-07 00:23:21 UTC (rev 268100)
+++ branches/safari-610-branch/LayoutTests/ChangeLog	2020-10-07 00:23:23 UTC (rev 268101)
@@ -1,5 +1,33 @@
 2020-10-06  Alan Coon  <[email protected]>
 
+        Cherry-pick r267836. rdar://problem/70024631
+
+    http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html is flaky
+    https://bugs.webkit.org/show_bug.cgi?id=217171
+    <rdar://problem/65085139>
+    
+    Reviewed by Eric Carlson.
+    
+    * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
+    Setting the video currentTime too close to the end makes it render transparent frames.
+    Make it so that we try using the middle of the video content where we expect green content.
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-10-01  Youenn Fablet  <[email protected]>
+
+            http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html is flaky
+            https://bugs.webkit.org/show_bug.cgi?id=217171
+            <rdar://problem/65085139>
+
+            Reviewed by Eric Carlson.
+
+            * http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
+            Setting the video currentTime too close to the end makes it render transparent frames.
+            Make it so that we try using the middle of the video content where we expect green content.
+
+2020-10-06  Alan Coon  <[email protected]>
+
         Cherry-pick r267833. rdar://problem/70024626
 
     MediaRecorder should support MediaRecorderOptions.mimeType

Modified: branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable-expected.txt (268100 => 268101)


--- branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable-expected.txt	2020-10-07 00:23:21 UTC (rev 268100)
+++ branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable-expected.txt	2020-10-07 00:23:23 UTC (rev 268101)
@@ -1,4 +1,3 @@
 
-
 PASS MediaRecorder can successfully record the video for a audio-video stream 
 

Modified: branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html (268100 => 268101)


--- branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html	2020-10-07 00:23:21 UTC (rev 268100)
+++ branches/safari-610-branch/LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html	2020-10-07 00:23:23 UTC (rev 268101)
@@ -6,7 +6,6 @@
     <script src=""
     <script src=""
     <script src=""
-    <link rel="stylesheet" href=""
 </head>
 <body>
 <div>
@@ -94,7 +93,7 @@
                     _assertPixelApprox(resFrame, 25, 25, 255, 0, 0, 255, "25, 25", "255, 0, 0, 255", 50);
                     _assertPixelApprox(resFrame, 50, 50, 255, 0, 0, 255, "50, 50", "255, 0, 0, 255", 50);
                     mode = 1;
-                    player.currentTime = player.duration - 0.05;
+                    player.currentTime = Math.min(1.5, player.duration - 0.05);
                 } else {
                     _assertPixelApprox(resFrame, 20, 20, 0, 255, 0, 255, "20, 20", "0, 255, 0, 255", 50);
                     _assertPixelApprox(resFrame, 199, 199, 0, 255, 0, 255, "199, 199", "0, 255, 0, 255", 50);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to