Exclude PSL-matched forms from update candidates
If Chrome sees a username-less form being submitted on an origin, and has exactly one pair of credentials stored for that origin, it offers the user to update that pair with the new password, as a convenience. However, if the only credential is stored for a PSL-related (having the same eTLD+1) but different origin, this update should not be offered. There is much less chance that the old credential and the new password actually represent the same account. Also, saving PSL-related credentials has the side effect of skipping the confirmation prompt, so such update happens without user confirmation. That's bad, because it led to overwriting useful credentials (see the attached bug). Therefore, this CL removes PSL-matching credentials from the list of candidates to be updated. Bug: 856543 Change-Id: Ibb77eaf5bf22d5865b83edd0bbd1bc6e02c41107 Reviewed-on: https://chromium-review.googlesource.com/1114740 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by:Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/master@{#570525}
Showing
Please register or sign in to comment