Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b80e1fb9da84bd4763357aa590c48a20a85e9f9
      
https://github.com/WebKit/WebKit/commit/4b80e1fb9da84bd4763357aa590c48a20a85e9f9
  Author: Chris Dumez <[email protected]>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/cross-origin-video-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/cross-origin-video.html
    M 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/fetch-access-control.py

  Log Message:
  -----------
  html/browsers/browsing-the-web/read-media/cross-origin-video.html gives 
different results on different platforms
https://bugs.webkit.org/show_bug.cgi?id=258689
rdar://111070171

Reviewed by Jer Noble.

The test was using an ogv file but was serving a "video/webm" Content-Type 
header.
We don't support ogv and we only support webm on some platforms.

To address the issue, we now rely on video.canPlayType() to see if the browser 
can
play ogv. If it cannot, we request a mp4 video file instead.

* 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/cross-origin-video-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/fetch-access-control.py:
(main):
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/cross-origin-video-expected.txt:
 Removed.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to