DescriptionFix best credentials selection algorithm in Password Manager.
Currently we select best matches as credentials with highest store, independently of usernames. And so if there are credentials for different usernames stored on different forms (for example on Sign-In and Sign-Up forms) we propose to autofill only one credentials, since they have different score. This patch changed our selection algorithm by choosing the best credentials by each username separately.
Since these changes in logic, we might have mixed PSL-non PSL matches in |best_matches_| so both PSL and non PSL matches might be shown in a suggestion dropdown, but it was implemented not to show PSL matched credentials in manage bubble.
BUG=579485
Committed: https://crrev.com/f2bd438bf1d535308aa9041ec9cfe712303a999b
Cr-Commit-Position: refs/heads/master@{#371508}
Patch Set 1 #Patch Set 2 : Not showing PSL matched credentials in managed bubble #Patch Set 3 : tiny fix #Patch Set 4 : Test fixes #Patch Set 5 : Tests added #
Messages
Total messages: 11 (6 generated)
|