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

Unified Diff: chrome/test/data/password/ambiguous_password_form.html

Issue 1292693004: [Password Manager] Autofill forms with field name and id attributes missing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code restructured. Created 5 years, 4 months 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 side-by-side diff with in-line comments
Download patch
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..a9e6477419dd9053701acab5aaa9f8ca161a5fc8
--- /dev/null
+++ b/chrome/test/data/password/ambiguous_password_form.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<!-- Password form with the username and password fields having ambiguity in id attribute. -->
+ <form id="ambiguous_form">
+ <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_username_id_form">
+ <input type="text" placeholder="username" />
+ <input type="password" placeholder="password" />
+ <input type="submit" />
+</form>

Powered by Google App Engine
This is Rietveld 408576698