Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cf44999a61adf1d55d05f96899321fd44b664c2
      
https://github.com/WebKit/WebKit/commit/2cf44999a61adf1d55d05f96899321fd44b664c2
  Author: Eric Carlson <[email protected]>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm

  Log Message:
  -----------
  Exiting from a full screen media document should not return to the previous 
page on iPadOS
https://bugs.webkit.org/show_bug.cgi?id=311596
rdar://137220651

Reviewed by Jer Noble.

Exiting from fullscreen mode with a MediaDocument on iOS navigates to the 
previous page.
This was originally done because inline playback wasn't allowed on iOS. This 
behavior
no longer make sense on iPadOS where inline playback is always available, so 
only navigate
on small-screen devices.

Tested manually.

* Source/WebCore/platform/cocoa/VideoPresentationModelVideoElement.mm:
(WebCore::VideoPresentationModelVideoElement::requestFullscreenMode):

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



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

Reply via email to