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

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

Issue 1428283002: Fix of password autofilling on hidden passwords forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fix Created 5 years, 1 month 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 4a525366aaea1110495ddaedef97864f384bd9af..322306a83d81a0d99a317a3b67ff11ad98f53a0d 100644
--- a/chrome/test/data/password/password_form.html
+++ b/chrome/test/data/password/password_form.html
@@ -88,11 +88,18 @@ needs to access them by their offsets in the array of the form children.
</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' />
+<form id='form_with_hidden_password' method='POST' action='done.html'>
+ <input type='text' id="form_with_hidden_password_username" placeholder='Username' />
<input type='password' id="hidden_password" style="display:none;" autocomplete="off" />
- <input type='password' id="password" placeholder='Password' />
+ <input type='password' id="form_with_hidden_password_password" placeholder='Password' />
<input type='submit' />
</form>
+
+<!-- Invisible password form. -->
+<form id='hidden_password_form' method='POST' action='done.html' style="display:none;">
+ <input type='text' id="hidden_password_form_username" placeholder='Username' />
+ <input type='password' id="hidden_password_form_password" placeholder='Password' />
+ <input type='submit' />
+</form>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698