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

Unified Diff: chrome/test/data/devtools/dispatch_key_event_shows_auto_fill.html

Issue 2656903005: ChromeDriver: Handle key events properly on Mac (Closed)
Patch Set: fixes Created 3 years, 5 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
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/devtools/dispatch_key_event_shows_auto_fill.html
diff --git a/chrome/test/data/devtools/dispatch_key_event_shows_auto_fill.html b/chrome/test/data/devtools/dispatch_key_event_shows_auto_fill.html
new file mode 100644
index 0000000000000000000000000000000000000000..e418575fb1f4584a7b30597418db9086492a5020
--- /dev/null
+++ b/chrome/test/data/devtools/dispatch_key_event_shows_auto_fill.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+<script>
+function run()
+{
+ if (window.location.toString().endsWith("?name=Abbf")) {
+ document.getElementById("name").value = "";
+ document.getElementById("name").focus();
+ console.log("ready");
+ return;
+ }
+ document.getElementById("submit").click();
+}
+</script>
+</head>
+<body onload="run()">
+ <form action="?" onsubmit="this.action += window.location.hash">
+ <input type="text" id="name" name="name" value="Abbf" />
+ <input type="submit" id="submit" value="submit" />
+ </form>
+</body>
+</html>
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698