DescriptionShow Form-Not-Secure warning on page load
Currently, the Form-Not-Secure warning shows up in the autofill dropdown
when the autofill suggestions are shown, but it should also show up on page
load when a password form is autofilled.
This CL adds a ShowNotSecureWarning method that roughly mirrors the
Fill-On-Account-Select flow. When a password form is autofilled on page load,
and when the PasswordFormFillData indicates that the warning should be shown,
the renderer calls ShowNotSecureWarning() to tell the browser to show the
autofill popup with the form-not-secure warning (and no autofill suggestions).
BUG=672668
TEST=Save a password on http://rsolomakhin.github.io/autofill/ in the
Name/Password form. Load the page again and observe that the field
is autofilled with a "Login not secure" autofill dropdown.
Committed: https://crrev.com/50592c0e5e6c21d5b11f3a5f1515d9afcd5fe1a7
Cr-Commit-Position: refs/heads/master@{#441289}
Patch Set 1 : checkpoint #Patch Set 2 : add unit tests #
Total comments: 2
Patch Set 3 : vabr comment and additional tests #
Total comments: 6
Patch Set 4 : meacer, jochen comments #Messages
Total messages: 34 (23 generated)
|