• vabr's avatar
    Password autofill should not override explicitly typed password · d7b0f8c7
    vabr authored
    Imagine the following:
    (1) A user types a username, which matches saved credentials, so the password is autofilled.
    (2) The user overwrites the suggested password in the password field.
    (3) The user enters the username field again, but leaves it without changes.
    
    Currently, the autofilled password after step 3 replaces the user-typed password from step 2.
    
    This CL makes sure, that the password from step 2 stays.
    
    BUG=385619
    
    Review URL: https://codereview.chromium.org/414013003
    
    Cr-Commit-Position: refs/heads/master@{#291938}
    d7b0f8c7
password_autofill_agent.h 10.3 KB