Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: chrome/test/data/password/ambiguous_password_form.html

Issue 2583493003: Password Manager: skip non-text fields from consideration for filling. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/autofill/content/renderer/password_autofill_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- Password form with the username and password fields having ambiguity in id attribute. --> 2 <!-- Password form with the username and password fields having ambiguity in id attribute. -->
3 <form id='ambiguous_form' method='POST' action='done.html'> 3 <form id='ambiguous_form' method='POST' action='done.html'>
4 <label>Username: </label><input type='text' id='ambiguous_id' /> 4 <label>Username: </label><input type='text' id='ambiguous_id' />
5 <label>Password: </label><input type='password' id='ambiguous_id' /> 5 <label>Password: </label><input type='password' id='ambiguous_id' />
6 <input type='submit' /> 6 <input type='submit' />
7 </form> 7 </form>
8 8
9 <!-- Password form having username and password fields without name and id attri bute. --> 9 <!-- Password form having username and password fields without name and id attri bute. -->
10 <form id='no_name_id_form' method='POST' action='done.html'> 10 <form id='no_name_id_form' method='POST' action='done.html'>
11 <label>Username: </label> <input type='text' placeholder='username' /> 11 <label>Username: </label> <input type='text' placeholder='username' />
12 <label>Password: </label> <input type='password' placeholder='password' /> 12 <label>Password: </label> <input type='password' placeholder='password' />
13 <input type='checkbox' />
13 <input type='submit' /> 14 <input type='submit' />
14 </form> 15 </form>
15 16
16 <!-- Change password form having username and password fields with empty names a long with |autocomplete='xxx'| attributes. --> 17 <!-- Change password form having username and password fields with empty names a long with |autocomplete='xxx'| attributes. -->
17 <form id='change_pwd' method='POST' action='done.html'> 18 <form id='change_pwd' method='POST' action='done.html'>
18 <label>Username: </label> <input type='text' placeholder='username' /> 19 <label>Username: </label> <input type='text' placeholder='username' />
19 <label>Old Password: </label> <input type='password' placeholder='Old Password ' autocomplete='current-password' /> 20 <label>Old Password: </label> <input type='password' placeholder='Old Password ' autocomplete='current-password' />
20 <label>New Password: </label> <input type='password' placeholder='New password ' autocomplete='new-password' /> 21 <label>New Password: </label> <input type='password' placeholder='New password ' autocomplete='new-password' />
21 <input type='submit' /> 22 <input type='submit' />
22 </form> 23 </form>
(...skipping 14 matching lines...) Expand all
37 <input type='submit' /> 38 <input type='submit' />
38 </form> 39 </form>
39 40
40 <!-- Ambiguous password form with problematic invisible password field. --> 41 <!-- Ambiguous password form with problematic invisible password field. -->
41 <form id='hidden_password_form' method='POST' action='done.html'> 42 <form id='hidden_password_form' method='POST' action='done.html'>
42 <label>Username: </label><input type='text' placeholder='Username' /> 43 <label>Username: </label><input type='text' placeholder='Username' />
43 <input type='password' placeholder='Password' style="display:none;" autocomple te="off" /> 44 <input type='password' placeholder='Password' style="display:none;" autocomple te="off" />
44 <label>Password: </label><input type='password' placeholder='Password' /> 45 <label>Password: </label><input type='password' placeholder='Password' />
45 <input type='submit' /> 46 <input type='submit' />
46 </form> 47 </form>
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/renderer/password_autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698