[webkit-changes] [WebKit/WebKit] a883b1: [WebAuthn] Implement condition assertions using mo...
Commit Queue
noreply at github.com
Wed Dec 6 23:17:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a883b11930236ca5627ecce3162380bbaa76f517
https://github.com/WebKit/WebKit/commit/a883b11930236ca5627ecce3162380bbaa76f517
Author: Pascoe <pascoe at apple.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesForwardDeclarations.h
M Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm
M Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
[WebAuthn] Implement condition assertions using modern AuthenticationServices API
https://bugs.webkit.org/show_bug.cgi?id=265838
rdar://113571152
Reviewed by Brent Fulgham.
This patch implements conditional assertions using the modern AuthenticationServices
framework. AuthenticationServices only allows one ongoing autofill request per process,
so this patch cancels and restarts conditional assertion requests as necessary depending on
the active page.
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticationServicesForwardDeclarations.h:
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
(WebKit::WebAuthenticatorCoordinatorProxy::pauseConditionalAssertion):
(WebKit::WebAuthenticatorCoordinatorProxy::unpauseConditionalAssertion):
(WebKit::WebAuthenticatorCoordinatorProxy::performRequest):
* Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::dispatchActivityStateChange):
Canonical link: https://commits.webkit.org/271662@main
More information about the webkit-changes
mailing list