Chromium Code Reviews| 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..25dd6395599e029f75966a910fb6db5fee046a40 |
| --- /dev/null |
| +++ b/chrome/test/data/password/separate_login_form_with_onload_submit_script.html |
| @@ -0,0 +1,18 @@ |
| +<html> |
|
vabr (Chromium)
2014/08/27 11:51:47
Please include a comment explaining why this test
Pritam Nikam
2014/08/30 10:16:20
Done.
|
| +<head> |
| +<script type="text/javascript"> |
| +window.onload = function() { |
| + $('username_separate').value = "user"; |
| + $('password_separate').value = "password"; |
| + $('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> |