DescriptionCredential Management: Support zeroclick credential in 'request()'.
If only a single credential is available, and zero-click behavior is
enabled, then we don't need to ask the user for permission to present
the credential in response to a website's call to `request()`.
This patch implements that logic, walking through the local credentials
for an origin in the password store, and returning zeroclick credentials
without prompting.
If no such credential is available, and the caller set 'zero_click_only',
then we also won't prompt the user, and will simply return an empty
credential.
BUG=400674
Committed: https://crrev.com/5fdae3e42e19f605f65d9608eda189a31642dee4
Cr-Commit-Position: refs/heads/master@{#313885}
Patch Set 1 #Patch Set 2 : Test. #
Total comments: 7
Patch Set 3 : rework #
Total comments: 3
Patch Set 4 : ASAN #
Total comments: 2
Patch Set 5 : Feedback #Patch Set 6 : Oops. #
Messages
Total messages: 15 (4 generated)
|