Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / password / password_form.html
blob725c03ee58b5b1f7d64ffd347b44b3aac6879242
1 <html>
2 <body>
3 <form method="POST" action="done.html" onsubmit="return true;" id="testform">
4 <input type="text" id="username_field" name="username_field">
5 <input type="password" id="password_field" name="password_field">
6 <input type="submit" id="input_submit_button" name="input_submit_button">
7 </form>
9 <button id="submit_button" name="submit_button"
10 onclick="document.getElementById('testform').submit()">
11 Submit!
12 </button>
14 <a id="link" href="done.html">Go somewhere</a>
16 <form method="POST" action="done.html" id="testform_no_name">
17 <input type="text" id="username_field_no_name">
18 <input type="password" id="password_field_no_name">
19 <input type="submit" id="input_submit_button_no_name">
20 </form>
22 <form method="POST" action="done.html" id="testform_elements_no_id">
23 <input type="text" name="username_field_no_id">
24 <input type="password" name="password_field_no_id">
25 <input type="submit" name="input_submit_button_no_id">
26 </form>
28 <form method="POST" action="redirect.html" id="redirectform">
29 <input type="text" id="username_redirect" name="username_redirect">
30 <input type="password" id="password_redirect" name="password_redirect">
31 <input type="submit" id="submit_redirect" name="submit_redirect">
32 </form>
34 <form method="POST" action="does_not_exist.html" id="form_with_http_error_status_code_landing_page">
35 <input type="text" id="username_field_http_error">
36 <input type="password" id="password_field_http_error">
37 <input type="submit" id="input_submit_button_http_error">
38 </form>
40 <!--
41 Don't add anything inside this form, and don't change the order of the
42 elements. Because the elements have no "id" or "name" attributes, the test
43 needs to access them by their offsets in the array of the form children.
44 -->
45 <form method="POST" action="done.html" id="testform_elements_no_id_no_name">
46 <input type="text">
47 <input type="password">
48 <input type="submit">
49 </form>
51 <form method="POST" action="done_and_unrelated_form.html" id="to_unrelated">
52 <input type="text" id="username_unrelated" name="username_unrelated">
53 <input type="password" id="password_unrelated" name="password_unrelated">
54 <input type="submit" id="submit_unrelated" name="submit_unrelated">
55 </form>
57 <form method="POST" action="failed.html" id="to_failed">
58 <input type="text" id="username_failed" name="username_failed">
59 <input type="password" id="password_failed" name="password_failed">
60 <input type="submit" id="submit_failed" name="submit_failed">
61 </form>
63 <!-- Change password form without the username explicitly marked. -->
64 <form action="done.html" id="chg_testform">
65 <!-- No autocomplete=username. -->
66 <input type="text" id="chg_not_username_field" name="chg_not_username_field">
67 <input type="password" id="chg_password_field" name="chg_password_field"
68 autocomplete="current-password">
69 <input type="password" id="chg_new_password_1" name="chg_new_password_1"
70 autocomplete="new-password">
71 <input type="password" id="chg_new_password_2" name="chg_new_password_2"
72 autocomplete="new-password">
73 <input type="submit" id="chg_submit_button" name="chg_submit_button">
74 </form>
76 <!-- Change password form with the username explicitly marked. -->
77 <form action="done.html" id="mark_chg_testform">
78 <input type="text" id="mark_chg_username_field" name="mark_chg_username_field"
79 autocomplete="username">
80 <input type="password" id="mark_chg_password_field"
81 name="mark_chg_password_field" autocomplete="current-password">
82 <input type="password" id="mark_chg_new_password_1"
83 name="mark_chg_new_password_1" autocomplete="new-password">
84 <input type="password" id="mark_chg_new_password_2"
85 name="mark_chg_new_password_2" autocomplete="new-password">
86 <input type="submit" id="mark_chg_submit_button"
87 name="mark_chg_submit_button">
88 </form>
90 </body>
91 </html>