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

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

Issue 1408423003: [Password Manager] Ignore autofilling invisible password fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Vaclav's inputs. Created 5 years, 2 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/password_form.html
diff --git a/chrome/test/data/password/password_form.html b/chrome/test/data/password/password_form.html
index 473600be951cbd8ed1c0aeb31347d27cf31cea29..4a525366aaea1110495ddaedef97864f384bd9af 100644
--- a/chrome/test/data/password/password_form.html
+++ b/chrome/test/data/password/password_form.html
@@ -86,5 +86,13 @@ needs to access them by their offsets in the array of the form children.
<input type="password" id="chg_new_password_withtext_username_2" name="chg_new_password_withtext_username_2">
<input type="submit" id="chg_submit_withtext_button" name="chg_submit_withtext_button">
</form>
+
+<!-- Password form with problematic invisible password field. -->
+<form id='hidden_password_form' method='POST' action='done.html'>
+ <input type='text' id="username" placeholder='Username' />
+ <input type='password' id="hidden_password" style="display:none;" autocomplete="off" />
+ <input type='password' id="password" placeholder='Password' />
+ <input type='submit' />
+</form>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698