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

Unified Diff: LayoutTests/fast/forms/search-event-delay.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: LayoutTests/fast/forms/search-event-delay.html
diff --git a/LayoutTests/fast/forms/search-event-delay.html b/LayoutTests/fast/forms/search-event-delay.html
deleted file mode 100644
index 19dc4d3a55e489d3273cc581befdc5d58c3df851..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/forms/search-event-delay.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<script>
-
-var count = 0;
-var keyEventTime;
-
-function sendKeyEvent()
-{
- if (window.eventSender)
- eventSender.keyDown("x");
-}
-
-function sendDeleteKeyEvent()
-{
- if (window.eventSender)
- eventSender.keyDown("delete");
-}
-
-function keyEvent(event)
-{
- keyEventTime = event.timeStamp;
-}
-
-function searchEvent(event)
-{
- document.getElementById("times").innerHTML += " " + (Math.round((event.timeStamp - keyEventTime) / 100) / 10);
- count += 1;
- if (count != 6) {
- if (count != 5)
- sendKeyEvent();
- else {
- document.getElementById("search").select();
- sendDeleteKeyEvent();
- }
- } else {
- if (window.testRunner)
- setTimeout("testRunner.notifyDone()", 0); // Do it on a timer to avoid Windows DRT hanging.
- }
-}
-
-function startTest()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- document.getElementById("search").focus();
- sendKeyEvent();
-}
-
-</script>
-
-<body onload="startTest()">
-
-<p>This tests the delay between when you type and the search event fires.</p>
-
-<p>As of this writing we can't use DOM events to type into a search field, so the test uses the event sender and only runs under DumpRenderTree.</p>
-
-<p><input id="search" type="search" incremental onkeydown="keyEvent(event)" onsearch="searchEvent(event)"></p>
-
-<div>The two rows below should match.</div>
-<div>0.5 0.4 0.3 0.2 0.2 0</p>
-<div id="times"></div>
-
-</body>

Powered by Google App Engine
This is Rietveld 408576698