[webkit-changes] [WebKit/WebKit] 57f207: [tvOS] Hosting app crashes due to unrecognized sel...

aestes noreply at github.com
Mon Jan 29 21:00:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57f207cd59344046b4a4047e5e32659f52783196
      https://github.com/WebKit/WebKit/commit/57f207cd59344046b4a4047e5e32659f52783196
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm
    M Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm
    M Source/WebCore/platform/ios/WebAVPlayerController.mm
    M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm

  Log Message:
  -----------
  [tvOS] Hosting app crashes due to unrecognized selector exceptions during fullscreen media playback
https://bugs.webkit.org/show_bug.cgi?id=268331
rdar://121881715

Reviewed by Jean-Yves Avenard.

Implemented selectors expected by AVKit on WebKit's WebAVPlayerLayer, WebAVPlayerViewControllerDelegate, and WebAVMediaSelectionOption subclasses.
While here, fixed the unified sources build by adding some imports.

* Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm:
(-[WebAVPlayerLayer avkit_isVisible]):
(-[WebAVPlayerLayer avkit_videoRectInWindow]):
* Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm:
(-[WebAVPlayerViewControllerDelegate playerViewControllerShouldDismiss:]):
* Source/WebCore/platform/ios/WebAVPlayerController.mm:
(-[WebAVMediaSelectionOption copyWithZone:]):
(-[WebAVMediaSelectionOption avkit_mediaRemoteIdentifier]):
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:

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




More information about the webkit-changes mailing list