[webkit-changes] [WebKit/WebKit] 75dd6c: [ Ventura WK1 Debug ] 2x imported/w3c/web-platform...

Eric Carlson noreply at github.com
Tue May 14 06:53:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 75dd6c5e94b32fa50a34a14d776ed4eb2643b28c
      https://github.com/WebKit/WebKit/commit/75dd6c5e94b32fa50a34a14d776ed4eb2643b28c
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2024-05-14 (Tue, 14 May 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
    M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

  Log Message:
  -----------
  [ Ventura WK1 Debug ] 2x imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode are constant crashes
https://bugs.webkit.org/show_bug.cgi?id=273501
rdar://127302101

Reviewed by Jer Noble.

Work around an AVFoundation bug that has been fixed in trunk but which still crashes
in downlevels by catching and ignoring ObjC exceptions sometimes thrown from
-[AVPlayerItem selectMediaOption:inMediaSelectionGroup:].

* Source/WebCore/platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm:
(WebCore::MediaSelectionGroupAVFObjC::selectionTimerFired):
* Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions):
(WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTextTrack):

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



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


More information about the webkit-changes mailing list