[webkit-changes] [WebKit/WebKit] a16dbe: [iOS] Add TestWKWebViewHostWindow to TestWebKitAPI...
aestes
noreply at github.com
Tue Feb 18 22:13:55 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a16dbe4f2e97dce9e4606e2288fa15d3e3229f68
https://github.com/WebKit/WebKit/commit/a16dbe4f2e97dce9e4606e2288fa15d3e3229f68
Author: Andy Estes <aestes at apple.com>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
M Tools/TestWebKitAPI/cocoa/HostWindowManager.mm
M Tools/TestWebKitAPI/cocoa/TestWKWebView.mm
M Tools/TestWebKitAPI/mac/app/main.mm
Log Message:
-----------
[iOS] Add TestWKWebViewHostWindow to TestWebKitAPI.app's UIWindowScene
https://bugs.webkit.org/show_bug.cgi?id=287827
rdar://145009790
Reviewed by Abrar Rahman Protyasha.
Added newly-created TestWKWebViewHostWindows to the UIApplication's first connected UIWindowScene,
if one exists (it will in TestWebKitAPI.app but not in TestWebKitAPI). While here, removed the
placeholder window created when TestWebKitAPI.app finishes launching on macOS, since each test
is responsible for creating a window if it wants one.
* Tools/TestWebKitAPI/cocoa/HostWindowManager.mm:
(TestWebKitAPI::HostWindowManager::OnTestEnd):
* Tools/TestWebKitAPI/cocoa/TestWKWebView.mm:
(windowScene):
(-[TestWKWebView _setUpTestWindow:]):
* Tools/TestWebKitAPI/mac/app/main.mm:
(-[AppDelegate applicationDidFinishLaunching:]): Deleted.
Canonical link: https://commits.webkit.org/290594@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