[webkit-changes] [WebKit/WebKit] 5af55e: [visionOS] Sign in with Apple window not anchored ...

Ryan Fuller noreply at github.com
Thu Sep 28 14:58:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5af55e89b2347fc317d8b0edaff172a7623aa38f
      https://github.com/WebKit/WebKit/commit/5af55e89b2347fc317d8b0edaff172a7623aa38f
  Author: Ryan Fuller <ryanfuller at apple.com>
  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




More information about the webkit-changes mailing list