Title: [229822] trunk/LayoutTests
Revision
229822
Author
[email protected]
Date
2018-03-21 14:07:55 -0700 (Wed, 21 Mar 2018)

Log Message

REGRESSION (r226059?): [macOS WK2] Layout Test fast/mediastream/MediaStream-MediaElement-setObject-null.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=181069
<rdar://problem/36188221>

Reviewed by Youenn Fablet.

Pass the function into the play() promise handler rather than calling it immediately.

* fast/mediastream/MediaStream-MediaElement-setObject-null.html:
* platform/mac-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (229821 => 229822)


--- trunk/LayoutTests/ChangeLog	2018-03-21 21:01:40 UTC (rev 229821)
+++ trunk/LayoutTests/ChangeLog	2018-03-21 21:07:55 UTC (rev 229822)
@@ -1,3 +1,16 @@
+2018-03-21  Jer Noble  <[email protected]>
+
+        REGRESSION (r226059?): [macOS WK2] Layout Test fast/mediastream/MediaStream-MediaElement-setObject-null.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=181069
+        <rdar://problem/36188221>
+
+        Reviewed by Youenn Fablet.
+
+        Pass the function into the play() promise handler rather than calling it immediately.
+
+        * fast/mediastream/MediaStream-MediaElement-setObject-null.html:
+        * platform/mac-wk2/TestExpectations:
+
 2018-03-21  Antoine Quint  <[email protected]>
 
         [Web Animations] Dispatch DOM events for CSS Transitions and CSS Animations implemented as Web Animations

Modified: trunk/LayoutTests/fast/mediastream/MediaStream-MediaElement-setObject-null.html (229821 => 229822)


--- trunk/LayoutTests/fast/mediastream/MediaStream-MediaElement-setObject-null.html	2018-03-21 21:01:40 UTC (rev 229821)
+++ trunk/LayoutTests/fast/mediastream/MediaStream-MediaElement-setObject-null.html	2018-03-21 21:07:55 UTC (rev 229822)
@@ -17,7 +17,7 @@
 function loadedMetadata(event)
 {
     shouldBe('video.duration', 'Number.POSITIVE_INFINITY');
-    video.play().then(clearStream());
+    video.play().then(clearStream);
 }
 
 function clearStream()

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (229821 => 229822)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-03-21 21:01:40 UTC (rev 229821)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-03-21 21:07:55 UTC (rev 229822)
@@ -854,8 +854,6 @@
 
 webkit.org/b/181167 imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html [ Pass Failure ]
 
-webkit.org/b/181069 fast/mediastream/MediaStream-MediaElement-setObject-null.html [ Pass Failure ]
-
 webkit.org/b/181107 http/wpt/cache-storage/cache-put-stream.https.any.html [ Pass Failure ]
 
 webkit.org/b/172879 webrtc/video-unmute.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to