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

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

Issue 127973004: Persist "Save password" infobars across redirects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed + trybot compilation fixed Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <form method="POST" action="done.html" onsubmit="return true;" id="testform"> 3 <form method="POST" action="done.html" onsubmit="return true;" id="testform">
4 <input type="text" id="username_field" name="username_field"> 4 <input type="text" id="username_field" name="username_field">
5 <input type="password" id="password_field" name="password_field"> 5 <input type="password" id="password_field" name="password_field">
6 <input type="submit" id="input_submit_button" name="input_submit_button"> 6 <input type="submit" id="input_submit_button" name="input_submit_button">
7 </form> 7 </form>
8 8
9 <button id="submit_button" name="submit_button" 9 <button id="submit_button" name="submit_button"
10 onclick="document.getElementById('testform').submit()"> 10 onclick="document.getElementById('testform').submit()">
11 Submit! 11 Submit!
12 </button> 12 </button>
13 13
14 <form method="POST" action="done.html" id="testform_no_name"> 14 <form method="POST" action="done.html" id="testform_no_name">
15 <input type="text" id="username_field_no_name"> 15 <input type="text" id="username_field_no_name">
16 <input type="password" id="password_field_no_name"> 16 <input type="password" id="password_field_no_name">
17 <input type="submit" id="input_submit_button_no_name"> 17 <input type="submit" id="input_submit_button_no_name">
18 </form> 18 </form>
19 19
20 <form method="POST" action="done.html" id="testform_elements_no_id"> 20 <form method="POST" action="done.html" id="testform_elements_no_id">
21 <input type="text" name="username_field_no_id"> 21 <input type="text" name="username_field_no_id">
22 <input type="password" name="password_field_no_id"> 22 <input type="password" name="password_field_no_id">
23 <input type="submit" name="input_submit_button_no_id"> 23 <input type="submit" name="input_submit_button_no_id">
24 </form> 24 </form>
25 25
26 <form method="POST" action="redirect.html" id="redirectform">
27 <input type="text" id="username_redirect" name="username_redirect">
28 <input type="password" id="password_redirect" name="password_redirect">
29 <input type="submit" id="submit_redirect" name="submit_redirect">
30 </form>
31
26 <!-- 32 <!--
27 Don't add anything inside this form, and don't change the order of the 33 Don't add anything inside this form, and don't change the order of the
28 elements. Because the elements have no "id" or "name" attributes, the test 34 elements. Because the elements have no "id" or "name" attributes, the test
29 needs to access them by their offsets in the array of the form children. 35 needs to access them by their offsets in the array of the form children.
30 --> 36 -->
31 <form method="POST" action="done.html" id="testform_elements_no_id_no_name"> 37 <form method="POST" action="done.html" id="testform_elements_no_id_no_name">
32 <input type="text"> 38 <input type="text">
33 <input type="password"> 39 <input type="password">
34 <input type="submit"> 40 <input type="submit">
35 </form> 41 </form>
36 42
37 </body> 43 </body>
38 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698