Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5af55e89b2347fc317d8b0edaff172a7623aa38f
      
https://github.com/WebKit/WebKit/commit/5af55e89b2347fc317d8b0edaff172a7623aa38f
  Author: Ryan Fuller <[email protected]>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

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

  Log Message:
  -----------
  [visionOS] Sign in with Apple window not anchored to the host app
https://bugs.webkit.org/show_bug.cgi?id=262230
rdar://116142970

Reviewed by Tim Horton.

WebKit needs to pipe the callerSceneIdentifier to SOAuthorizationRequest
so that the Sign in with Apple window can be anchored correctly.

* Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:
Add a delegate method to retrieve the callerSceneIdentifier on visionOS.

* Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
(WebKit::SOAuthorizationSession::continueStartAfterDecidePolicy):
Set the callerSceneIdentifier on the SOAuthorizationRequest options dict.

Canonical link: https://commits.webkit.org/268613@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to