[webkit-changes] [WebKit/WebKit] 76239d: Fullscreen UIScene adjustments are not reverted if...

Tim Horton noreply at github.com
Thu Mar 2 00:23:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76239d6da4e0176bccf1b5124084af0aeca89fcc
      https://github.com/WebKit/WebKit/commit/76239d6da4e0176bccf1b5124084af0aeca89fcc
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm

  Log Message:
  -----------
  Fullscreen UIScene adjustments are not reverted if the Web Content process crashes while in fullscreen
https://bugs.webkit.org/show_bug.cgi?id=253216
rdar://106107254

Reviewed by Aditya Keerthi.

* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenWindowController _exitFullscreenImmediately]):
Perform the fullscreen transition without animation if exiting fullscreen "immediately",
which happens in cases such as Web Content process crash or WKWebView unparenting.
This ensures that all of the scene/window cleanup work happens even if we don't go through
the usual animated dismissal path.

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




More information about the webkit-changes mailing list