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

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

Issue 773823002: PasswordManager should trigger autofill for new forms + old PasswordFromManagers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't duplicate the blacklist & generation IPC Created 6 years 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/dynamic_password_form.html
diff --git a/chrome/test/data/password/dynamic_password_form.html b/chrome/test/data/password/dynamic_password_form.html
index 2e97fda1e2e6e718f80f3564a2a4bf7c72ab0f0b..ed22c72dadd3eba458f7d66cd3ae716cc9646315 100644
--- a/chrome/test/data/password/dynamic_password_form.html
+++ b/chrome/test/data/password/dynamic_password_form.html
@@ -4,6 +4,7 @@
function createDynamicForm() {
var dynamicForm = document.createElement('form');
dynamicForm.setAttribute('name', 'dynamic_form');
+ dynamicForm.setAttribute('id', 'dynamic_form_id');
dynamicForm.setAttribute('method', 'post');
dynamicForm.setAttribute('action', 'done.html');
dynamicForm.setAttribute('onsubmit', 'return true;');
@@ -11,6 +12,7 @@ function createDynamicForm() {
var inputUsername = document.createElement('input');
inputUsername.setAttribute('type', 'text');
inputUsername.setAttribute('name', 'username');
+ inputUsername.setAttribute('id', 'username_id');
var inputPassword = document.createElement('input');
inputPassword.setAttribute('type', 'password');

Powered by Google App Engine
This is Rietveld 408576698