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

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

Issue 137893009: [Password Autofill] Catch XHR submitted forms where onsubmit() wasn't called. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 <a id="link" href="done.html">Go somewhere</a>
15
14 <form method="POST" action="done.html" id="testform_no_name"> 16 <form method="POST" action="done.html" id="testform_no_name">
15 <input type="text" id="username_field_no_name"> 17 <input type="text" id="username_field_no_name">
16 <input type="password" id="password_field_no_name"> 18 <input type="password" id="password_field_no_name">
17 <input type="submit" id="input_submit_button_no_name"> 19 <input type="submit" id="input_submit_button_no_name">
18 </form> 20 </form>
19 21
20 <form method="POST" action="done.html" id="testform_elements_no_id"> 22 <form method="POST" action="done.html" id="testform_elements_no_id">
21 <input type="text" name="username_field_no_id"> 23 <input type="text" name="username_field_no_id">
22 <input type="password" name="password_field_no_id"> 24 <input type="password" name="password_field_no_id">
23 <input type="submit" name="input_submit_button_no_id"> 25 <input type="submit" name="input_submit_button_no_id">
(...skipping 23 matching lines...) Expand all
47 </form> 49 </form>
48 50
49 <form method="POST" action="failed.html" id="to_failed"> 51 <form method="POST" action="failed.html" id="to_failed">
50 <input type="text" id="username_failed" name="username_failed"> 52 <input type="text" id="username_failed" name="username_failed">
51 <input type="password" id="password_failed" name="password_failed"> 53 <input type="password" id="password_failed" name="password_failed">
52 <input type="submit" id="submit_failed" name="submit_failed"> 54 <input type="submit" id="submit_failed" name="submit_failed">
53 </form> 55 </form>
54 56
55 </body> 57 </body>
56 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698