Changeset 271753 in webkit
- Timestamp:
- Jan 22, 2021 11:53:55 AM (3 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r271737 r271753 1 2021-01-22 Jiewen Tan <jiewen_tan@apple.com> 2 3 [WebAuthn] Should only check default browsers for the Modern WebAuthn 4 https://bugs.webkit.org/show_bug.cgi?id=220840 5 <rdar://problem/73375937> 6 7 Reviewed by Brent Fulgham. 8 9 * WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp: 10 (WebKit::WebAuthenticatorCoordinator::makeCredential): 11 (WebKit::WebAuthenticatorCoordinator::getAssertion): 12 (WebKit::WebAuthenticatorCoordinator::isUserVerifyingPlatformAuthenticatorAvailable): 13 1 14 2021-01-21 Peng Liu <peng.liu6@apple.com> 2 15 -
trunk/Source/WebKit/WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp
r270743 r271753 73 73 74 74 if (!RuntimeEnabledFeatures::sharedFeatures().webAuthenticationModernEnabled()) { 75 if (!isWebBrowser())76 return;77 78 75 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::MakeCredential(webFrame->frameID(), webFrame->info(), hash, options, processingUserGesture), WTFMove(handler)); 79 76 return; 80 77 } 81 78 79 if (!isWebBrowser()) 80 return; 82 81 WebProcess::singleton().ensureWebAuthnProcessConnection().connection().sendWithAsyncReply(Messages::WebAuthnConnectionToWebProcess::MakeCredential(hash, options, processingUserGesture), WTFMove(handler)); 83 82 } … … 94 93 95 94 if (!RuntimeEnabledFeatures::sharedFeatures().webAuthenticationModernEnabled()) { 96 if (!isWebBrowser())97 return;98 99 95 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::GetAssertion(webFrame->frameID(), webFrame->info(), hash, options, processingUserGesture), WTFMove(handler)); 100 96 return; 101 97 } 102 98 99 if (!isWebBrowser()) 100 return; 103 101 WebProcess::singleton().ensureWebAuthnProcessConnection().connection().sendWithAsyncReply(Messages::WebAuthnConnectionToWebProcess::GetAssertion(hash, options, processingUserGesture), WTFMove(handler)); 104 102 } … … 107 105 { 108 106 if (!RuntimeEnabledFeatures::sharedFeatures().webAuthenticationModernEnabled()) { 109 if (!isWebBrowser())110 return;111 112 107 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::IsUserVerifyingPlatformAuthenticatorAvailable(), WTFMove(handler)); 113 108 return; 114 109 } 115 110 111 if (!isWebBrowser()) 112 return; 116 113 WebProcess::singleton().ensureWebAuthnProcessConnection().connection().sendWithAsyncReply(Messages::WebAuthnConnectionToWebProcess::IsUserVerifyingPlatformAuthenticatorAvailable(), WTFMove(handler)); 117 114 }
Note: See TracChangeset
for help on using the changeset viewer.