Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19987381048be471e9b1bbf2b676a97c95098fbd
      
https://github.com/WebKit/WebKit/commit/19987381048be471e9b1bbf2b676a97c95098fbd
  Author: Pascoe <[email protected]>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm

  Log Message:
  -----------
  Present AppSSO on the top-most presentedViewController
https://bugs.webkit.org/show_bug.cgi?id=274028
rdar://127761880

Reviewed by Aditya Keerthi.

In some situations AppSSO will be called where the result of 
[m_page->cocoaView() window].rootViewController
is not applicable to present a view controller on top of because it's already 
presenting something. To fix
this we can look at the top-most presentedViewController of 
[m_page->cocoaView() window].rootViewController.

* Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
(WebKit::SOAuthorizationSession::presentViewController):

Canonical link: https://commits.webkit.org/278715@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