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> |