-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Password manager UI can cause conditional requests to pause https://bugs.webkit.org/show_bug.cgi?id=270135 rdar://123659147 Reviewed by Charlie Wolfe and Chris Dumez. The API for autofill assisted passkey requests only allows one request ongoing per UI process. In order to handle this behavior, we currently pause requests whenever their page is not active and resume them whenever the page becomes active. However, bringing up password manager UI as part of an conditional mediation may cause the page to become not active, therefore pausing the request the user is selecting a credential for in the UI. To fix this issue, we don't pause requests whenever a page becomes inactive. Instead we pause the active request whenever another page becomes active. This will result in no pause when brining up password manager UI. * Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm: (WebKit::WebAuthenticatorCoordinatorProxy::pauseConditionalAssertion): (WebKit::WebAuthenticatorCoordinatorProxy::makeActiveConditionalAssertion): (WebKit::WebAuthenticatorCoordinatorProxy::performRequest): * Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h: * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::dispatchActivityStateChange): Canonical link: https://commits.webkit.org/275414@main Identifier: 272448.802@safari-7618-branch
- Loading branch information
Dan Robson
committed
Mar 26, 2024
1 parent
bf48da0
commit b627464
Showing
3 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters