Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a747500e6dd373163d6f633d7f2a5d6b912d0dca
      
https://github.com/WebKit/WebKit/commit/a747500e6dd373163d6f633d7f2a5d6b912d0dca
  Author: Youenn Fablet <[email protected]>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    A 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-video-element-loadedmetadata-event-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-video-element-loadedmetadata-event.html
    M 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-videoDetectorTest.html

  Log Message:
  -----------
  WPT webrtc RTCPeerConnection-videoDetectorTest.html is failing due to 
unattached video element not autoplaying
rdar://181805319
https://bugs.webkit.org/show_bug.cgi?id=318954

Reviewed by Jean-Yves Avenard.

We fix WPT RTCPeerConnection-videoDetectorTest.html for two things:
- We make sure to call play on a video element that is not attached to the DOM, 
even though its autoplayu is true.
- We make sure to start the signal detection once the video element gets a 
first video frame via requestVideoFrameCallback instead of loadedmetadata, 
which is flaky in WebKit.
- We make sure to preserve resolution so that the first video frame is not too 
small.

We add a test that is specific to testing that when loadedmetadata event fires, 
a first video frame should have been received.
We mark this test as flakky for now and we will work as a follow-upt to fix 
this, once we know how to handle the case of audio+video.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-video-element-loadedmetadata-event-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-video-element-loadedmetadata-event.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-videoDetectorTest.html:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to