Index: chrome/test/data/password/ambiguous_password_form.html |
diff --git a/chrome/test/data/password/ambiguous_password_form.html b/chrome/test/data/password/ambiguous_password_form.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0c2a4eeb80cc7ce3191274f8d91208a64d0c676c |
--- /dev/null |
+++ b/chrome/test/data/password/ambiguous_password_form.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<!-- Password form with the username and password fields having ambiguity in id attribute. --> |
+ <form id="ambiguous_form" method="POST" action="done.html"> |
+ <label>Username: </label><input type="text" id="ambiguous_id" /> |
+ <label>Password: </label><input type="password" id="ambiguous_id" /> |
+ <input type="submit" /> |
+</form> |
+ |
+<!-- Password form having username and password fields without name and id attribute. --> |
+ <form id="no_name_id_form" method="POST" action="done.html"> |
+ <label>Username: </label> <input type="text" placeholder="username" /> |
+ <label>Password: </label> <input type="password" placeholder="password" /> |
+ <input type="submit" /> |
+</form> |
+ |
+<!-- change password form having username and password fields without name and id attribute. --> |
+ <form id="change_pwd_no_name_id" method="POST" action="done.html"> |
+ <label>Username: </label> <input type="text" placeholder="username" /> |
+ <label>Old Password: </label> <input type="password" placeholder="Old Password" autocomplete="current-password" /> |
+ <label>New Password: </label> <input type="password" placeholder="New password" autocomplete="new-password" /> |
+ <input type="submit" /> |
+</form> |