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

Unified Diff: chrome/test/data/password/separate_login_form_with_onload_submit_script.html

Issue 488083002: [Password Manager] Fix to recognise failed login attempt for sites where content server pushes new … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@branch_autofill_todo_20140813
Patch Set: Updated as per review comments. Created 6 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698