Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4777271bc3152771c7bb4e7a25d700863de12bd4
      
https://github.com/WebKit/WebKit/commit/4777271bc3152771c7bb4e7a25d700863de12bd4
  Author: Youenn Fablet <youe...@gmail.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-GC.https.html
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  New test: 
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-GC.https.html is a 
consistent/flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=260225
rdar://113932040

Reviewed by Jean-Yves Avenard.

The test was assuming that after the resize event, it would be possible to draw 
the video element in the canvas.
This is not guaranteed since the resize event may fire in HAVE_METADATA.

We replace the first call of onVideoChange by calling HTMLMediaElement.play().
To make it work, we trigger a canvas frame every 50 ms, instead of triggering 
frames when checking for the resize event.
We mute the media element to make the HTMLMediaElement.play() call work in all 
browsers.

* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-GC.https.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

Canonical link: https://commits.webkit.org/270875@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to