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

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

Issue 19705013: [password autofill] Remove references to PasswordForm from RenderViewImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 <head> 2 <head>
3 <script> 3 <script>
4 4
5 function state_changed(xhr) { 5 function state_changed(xhr) {
6 if (xhr.readyState == 4) 6 if (xhr.readyState == 4)
7 window.location.href = "password_xhr_done.html"; 7 window.location.href = "done.html";
8 } 8 }
9 9
10 function send_xhr() { 10 function send_xhr() {
11 var xhr = new XMLHttpRequest(); 11 var xhr = new XMLHttpRequest();
12 xhr.onreadystatechange = function() { state_changed(xhr); }; 12 xhr.onreadystatechange = function() { state_changed(xhr); };
13 xhr.open("GET", "password_xhr_submit.html", true); 13 xhr.open("GET", "password_xhr_submit.html", true);
14 xhr.send(null); 14 xhr.send(null);
15 } 15 }
16 16
17 </script> 17 </script>
18 </head> 18 </head>
19 <body> 19 <body>
20 <form action="password_xhr_submit.html" onsubmit="send_xhr(); return false;" 20 <form action="password_xhr_submit.html" onsubmit="send_xhr(); return false;"
21 id="testform"> 21 id="testform">
22 <input type="text" id="username_field" name="username_field"> 22 <input type="text" id="username_field" name="username_field">
23 <input type="password" id="password_field" name="password_field"> 23 <input type="password" id="password_field" name="password_field">
24 <input type="submit" id="submit_button" name="submit_button"> 24 <input type="submit" id="submit_button" name="submit_button">
25 </form> 25 </form>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/password/password_xhr_done.html ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698