Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c026408da578c98b3cd0ccdecc681c7353504542
https://github.com/WebKit/WebKit/commit/c026408da578c98b3cd0ccdecc681c7353504542
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
Log Message:
-----------
[iOS] implement watchdog for completing fullscreen exit.
https://bugs.webkit.org/show_bug.cgi?id=300380
rdar://162112548
Reviewed by Jer Noble.
Following 290536@main ; exiting fullscreen relies on the web process to
complete its task and to call WebFullScreenManagerProxy::beganEnterFullScreen
If the web process has hung or died, the fullscreen window remains on screen
with non-functional controls,
giving the appearance that Safari is completely locked up.
Like we do on Mac, we set a 1s watchdog that should the we failed to complete
the exit of fullscreen mode
we will dismiss the webview placeholder.
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenWindowController exitFullScreen:]):
(-[WKFullScreenWindowController _completedExitFullScreen:]):
(-[WKFullScreenWindowController _startWatchdogTimer]):
(-[WKFullScreenWindowController _watchdogTimerFired:]):
(-[WKFullScreenWindowController _cancelWatchdogTimer]):
(-[WKFullScreenWindowController _exitFullscreenImmediately]):
Canonical link: https://commits.webkit.org/301296@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes