Index: chrome/test/data/password/separate_login_form_with_onload_submit_script.html |
diff --git a/chrome/test/data/password/separate_login_form_with_onload_submit_script.html b/chrome/test/data/password/separate_login_form_with_onload_submit_script.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..392afca9d28caec15255a487e7114d963abeb8cb |
--- /dev/null |
+++ b/chrome/test/data/password/separate_login_form_with_onload_submit_script.html |
@@ -0,0 +1,18 @@ |
+<html> |
+<head> |
+<script type="text/javascript"> |
+window.onload = function() { |
+ document.getElementById('username_separate').value = "user"; |
+ document.getElementById('password_separate').value = "password"; |
+ document.getElementById('submit_separate').click(); |
+} |
+</script> |
+<head> |
+<body> |
+<form method="POST" action="/password/done_and_separate_login_form.html" id="to_separate"> |
+ <input type="text" id="username_separate" name="username_separate"> |
+ <input type="password" id="password_separate" name="password_separate"> |
+ <input type="submit" id="submit_separate" name="submit_separate"> |
+</form> |
+</body> |
+</html> |