Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4eab8e49375032bf46f57899fad8a901ede19495
https://github.com/WebKit/WebKit/commit/4eab8e49375032bf46f57899fad8a901ede19495
Author: Pascoe <[email protected]>
Date: 2025-10-30 (Thu, 30 Oct 2025)
Changed paths:
M Source/WebCore/PAL/pal/spi/cocoa/AppSSOSPI.h
M Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SOAuthorizationTests.mm
Log Message:
-----------
Add URL path to AppSSO authorization options
https://bugs.webkit.org/show_bug.cgi?id=300507
rdar://162366845
Reviewed by Brent Fulgham.
AppSSO extensions may need to know the path component of the URL being
authorized. Add the path to the authorizationOptions dictionary passed
to SOAuthorization with the key "path".
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/SOAuthorizationTests.mm
* Source/WebCore/PAL/pal/spi/cocoa/AppSSOSPI.h:
* Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
(WebKit::SOAuthorizationSession::continueStartAfterDecidePolicy):
Extract the URL path and add it to authorizationOptions.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SOAuthorizationTests.mm:
(checkAuthorizationOptions): Add optional path parameter.
(TestWebKitAPI::TEST(SOAuthorizationRedirect, AuthorizationOptionsWithPath)):
Add test verifying the path is included in authorization options.
Canonical link: https://commits.webkit.org/302356@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications