Chromium Code Reviews| Index: chrome/test/data/password/password_form.html |
| diff --git a/chrome/test/data/password/password_form.html b/chrome/test/data/password/password_form.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ac96b5bcab1f992c0cfbdf7557f193e8f79c5b5c |
| --- /dev/null |
| +++ b/chrome/test/data/password/password_form.html |
| @@ -0,0 +1,15 @@ |
| +<html> |
| +<body> |
| +<form action="done.html" onsubmit="return true;" id="testform"> |
| + <input type="text" id="username_field" name="username_field"> |
| + <input type="password" id="password_field" name="password_field"> |
| + <input type="submit" id="input_submit_button" name="input_submit_button"> |
|
Ilya Sherman
2013/07/27 01:09:48
nit: Do you really need ids for the <input>s? Doe
Garrett Casto
2013/08/03 00:38:42
I use GetElementById() in the test.
|
| +</form> |
| + |
| +<button id="submit_button" name="submit_button" |
| + onclick="document.getElementById('testform').submit()"> |
| + Submit! |
| +</button> |
| + |
| +</body> |
| +</html> |