Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[iOS] MobileSafari crashes at WebCore: WebCore::VideoFullscreenInterf…
…aceAVKit::doEnterFullscreen https://bugs.webkit.org/show_bug.cgi?id=221863 <rdar://73861140> Patch by Jean-Yves Avenard <jya@apple.com> on 2021-02-14 Reviewed by Darin Adler. On iPad, it's possible for AVKit to fail due to racing requests to exit full screen and enter full screen. The enterFullscreenHandler would attempt to immediately re-enter full screen. For now we bail-out early to avoid the crash. In a follow-up patch we will ensure that the condition to enter fullscreen while there's a pending operation to exit fullscreen can't occur. No new tests, can't reproduce. Analysis has been entirely theoretical. * platform/ios/VideoFullscreenInterfaceAVKit.mm: (VideoFullscreenInterfaceAVKit::enterFullscreenHandler): Exit early if error returned. Canonical link: https://commits.webkit.org/234077@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@272841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information