summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/password
diff options
context:
space:
mode:
authorvabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-22 15:13:27 +0000
committervabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-22 15:13:27 +0000
commitc8befac4676a4cd74b40ce3ad7d787f6720ee424 (patch)
tree114506499cdf156a06274c0d968951397a8e1759 /chrome/test/data/password
parent4b4892baa8892a78e5fcd9d41021951687f9b995 (diff)
downloadchromium_src-c8befac4676a4cd74b40ce3ad7d787f6720ee424.zip
chromium_src-c8befac4676a4cd74b40ce3ad7d787f6720ee424.tar.gz
chromium_src-c8befac4676a4cd74b40ce3ad7d787f6720ee424.tar.bz2
Tests for "WebView: speed up user gesture notification for GestureTap"
This provides a test for a Blink fix at https://codereview.chromium.org/288423002/ The test copies exactly the reproduction steps from http://crbug.com/372595: 1. Saves credentials for a form. 2. Reloads the form, letting the credentials be autocompleted. 3. As the very first user interaction, taps on the submit button. 4. Checks that the autofilled password was correctly submitted. The test could not be done in Blink, because it relies on password autocompletion. BUG=372595 R=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/297693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/password')
-rw-r--r--chrome/test/data/password/form_and_link.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/chrome/test/data/password/form_and_link.html b/chrome/test/data/password/form_and_link.html
index bf31b44..6bac0cc 100644
--- a/chrome/test/data/password/form_and_link.html
+++ b/chrome/test/data/password/form_and_link.html
@@ -1,9 +1,23 @@
<html>
+<head>
+<style>
+/* The submit button's position and size is fixed, so that it's easy to specify
+ * tap/click coordinates for it. */
+#input_submit_button {
+ top: 100px;
+ left: 0px;
+ position: absolute;
+ height: 300px;
+ width: 700px;
+}
+</style>
+</head>
<body>
-<form method="POST" action="done.html" id="testform">
+<!-- Use GET, so that the password is visible in the URL after submitting. -->
+<form method="GET" action="done.html" 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">
+ <input type="submit" id="input_submit_button">
</form>
<a href="done.html" id="testlink" target="_blank">Link</a>
</body>