Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a16dbe4f2e97dce9e4606e2288fa15d3e3229f68
      
https://github.com/WebKit/WebKit/commit/a16dbe4f2e97dce9e4606e2288fa15d3e3229f68
  Author: Andy Estes <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to