[webkit-changes] [WebKit/WebKit] 463965: Fix some WebKitLegacy fullscreen tests after 29028...
Alex Christensen
noreply at github.com
Thu Feb 13 10:48:52 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4639654530646f04114df396551e60b2a362ffd7
https://github.com/WebKit/WebKit/commit/4639654530646f04114df396551e60b2a362ffd7
Author: Alex Christensen <achristensen at apple.com>
Date: 2025-02-13 (Thu, 13 Feb 2025)
Changed paths:
M Source/WebCore/dom/FullscreenManager.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebKitFullScreenListener.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebKitFullScreenListener.mm
M Source/WebKitLegacy/mac/WebView/WebFullScreenController.h
M Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm
M Source/WebKitLegacy/mac/WebView/WebView.mm
M Source/WebKitLegacy/mac/WebView/WebViewInternal.h
Log Message:
-----------
Fix some WebKitLegacy fullscreen tests after 290289 at main
https://bugs.webkit.org/show_bug.cgi?id=287640
rdar://144795386
Unreviewed.
Some fullscreen promises weren't being resolved at the right time in WebKitLegacy
because I wasn't passing the completion handler all the way from
WebChromeClient::enterFullScreenForElement to FullscreenManager::willEnterFullscreen.
* Source/WebCore/dom/FullscreenManager.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::enterFullScreenForElement):
(WebChromeClient::exitFullScreenForElement):
* Source/WebKitLegacy/mac/WebCoreSupport/WebKitFullScreenListener.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebKitFullScreenListener.mm:
(-[WebKitFullScreenListener webkitWillEnterFullScreen]):
* Source/WebKitLegacy/mac/WebView/WebFullScreenController.h:
* Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm:
(-[WebFullScreenController enterFullScreen:completionHandler:]):
(-[WebFullScreenController enterFullScreen:]): Deleted.
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(-[WebView _didStartProvisionalLoadForFrame:]):
(-[WebView _enterFullScreenForElement:completionHandler:]):
(-[WebView _enterFullScreenForElement:]): Deleted.
* Source/WebKitLegacy/mac/WebView/WebViewInternal.h:
Canonical link: https://commits.webkit.org/290350@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list