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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html

Issue 1537313002: Fix a crash by search event handler for <input type=search incremental>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/search/search-change-type-onsearch.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html b/third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html
index 79c6b51484cea99e73fd64b677ca79a9648504c5..816c714f0271bcaf9863b7a66dea34a5ae946c8e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html
+++ b/third_party/WebKit/LayoutTests/fast/events/onsearch-enter.html
@@ -7,6 +7,7 @@
sf.focus();
if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
eventSender.keyDown("\r", []);
}
}
@@ -19,7 +20,7 @@
</head>
<body onload="test()">
This tests that onSearch fires correctly.<br>
- <input type="search" id="sf" onSearch="log('Test Passed');"></input>
+ <input type="search" id="sf" onSearch="log('Test Passed'); testRunner.notifyDone();"></input>
<div id="res"></div>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/search/search-change-type-onsearch.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698