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

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

Issue 733953002: Do not save passwords if the landing page has HTTP status 5xx or 4xx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 unified diff | Download patch
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()">
(...skipping 13 matching lines...) Expand all
24 <input type="password" name="password_field_no_id"> 24 <input type="password" name="password_field_no_id">
25 <input type="submit" name="input_submit_button_no_id"> 25 <input type="submit" name="input_submit_button_no_id">
26 </form> 26 </form>
27 27
28 <form method="POST" action="redirect.html" id="redirectform"> 28 <form method="POST" action="redirect.html" id="redirectform">
29 <input type="text" id="username_redirect" name="username_redirect"> 29 <input type="text" id="username_redirect" name="username_redirect">
30 <input type="password" id="password_redirect" name="password_redirect"> 30 <input type="password" id="password_redirect" name="password_redirect">
31 <input type="submit" id="submit_redirect" name="submit_redirect"> 31 <input type="submit" id="submit_redirect" name="submit_redirect">
32 </form> 32 </form>
33 33
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>
39
34 <!-- 40 <!--
35 Don't add anything inside this form, and don't change the order of the 41 Don't add anything inside this form, and don't change the order of the
36 elements. Because the elements have no "id" or "name" attributes, the test 42 elements. Because the elements have no "id" or "name" attributes, the test
37 needs to access them by their offsets in the array of the form children. 43 needs to access them by their offsets in the array of the form children.
38 --> 44 -->
39 <form method="POST" action="done.html" id="testform_elements_no_id_no_name"> 45 <form method="POST" action="done.html" id="testform_elements_no_id_no_name">
40 <input type="text"> 46 <input type="text">
41 <input type="password"> 47 <input type="password">
42 <input type="submit"> 48 <input type="submit">
43 </form> 49 </form>
44 50
45 <form method="POST" action="done_and_unrelated_form.html" id="to_unrelated"> 51 <form method="POST" action="done_and_unrelated_form.html" id="to_unrelated">
46 <input type="text" id="username_unrelated" name="username_unrelated"> 52 <input type="text" id="username_unrelated" name="username_unrelated">
47 <input type="password" id="password_unrelated" name="password_unrelated"> 53 <input type="password" id="password_unrelated" name="password_unrelated">
48 <input type="submit" id="submit_unrelated" name="submit_unrelated"> 54 <input type="submit" id="submit_unrelated" name="submit_unrelated">
49 </form> 55 </form>
50 56
51 <form method="POST" action="failed.html" id="to_failed"> 57 <form method="POST" action="failed.html" id="to_failed">
52 <input type="text" id="username_failed" name="username_failed"> 58 <input type="text" id="username_failed" name="username_failed">
53 <input type="password" id="password_failed" name="password_failed"> 59 <input type="password" id="password_failed" name="password_failed">
54 <input type="submit" id="submit_failed" name="submit_failed"> 60 <input type="submit" id="submit_failed" name="submit_failed">
55 </form> 61 </form>
56 62
57 </body> 63 </body>
58 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698