Search events should not fire synchronously for search type input elements with incre...
[WebKit-https.git] / Source / WebCore / html / SearchInputType.cpp
index 6bbf8be..a2a6f8a 100644 (file)
@@ -161,8 +161,7 @@ void SearchInputType::startSearchEventTimer()
     unsigned length = element().innerTextValue().length();
 
     if (!length) {
-        stopSearchEventTimer();
-        element().onSearch();
+        m_searchEventTimer.startOneShot(0_ms);
         return;
     }