• Dominic Battre's avatar
    Fix PasswordManager.FillingAssistance for blacklisted sites · e031efef
    Dominic Battre authored
    If a user has blacklisted a site for saving credentials, the login database
    stores this as an entry with an empty password. This CL recognizes this and
    reports that the password was typed while the site was blacklisted instead of
    reporting that a password was typed even though a password exits (the empty
    password).
    
    There are still two special cases left:
    
    1) If a PSL matching domain is blacklisted, it is still considered part of the
    current site even though the user will see a save prompt.
    
    2) The use user has ignored a password save prompt 3 times, we don't ask again.
    In this case we will not report the site as blacklisted but report that no
    password was stored.
    
    Bug: 918846
    Change-Id: I5cb0396940ec6be55b9e0715b3a0a74aa52815b9
    Reviewed-on: https://chromium-review.googlesource.com/c/1448213Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
    Commit-Queue: Dominic Battré <battre@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#627953}
    e031efef
enums.xml 2.4 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.