Two related issues:
1) Common suffix: For password-reuse logging, it appears that if I have two passwords saved like this:
mypassword
foomypassword
and I type "foomypassword", it only logs the first one. We should find all matching passwords given the current character buffer. I think this only affects the |password_matching_domains| proto field, and the count of matching passwords.
2) Common prefix: If I have these saved:
mypassword
mypassword123
and I type "mypassword123", it'll log "mypassword" since it only triggers a reuse event once per page -- the second event will be dropped. This means if "mypassword123" is my sync password, we'll generate a saved-password ping first and Google won't know that the user typed their sync password.
+dvadym in case you've thought of solutions to these.
Comment 1 by vakh@chromium.org
, Sep 1 2017