git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Search events should not fire synchronously for search type input elements with incre...
[WebKit-https.git]
/
Source
/
WebCore
/
html
/
SearchInputType.cpp
diff --git
a/Source/WebCore/html/SearchInputType.cpp
b/Source/WebCore/html/SearchInputType.cpp
index
6bbf8be
..
a2a6f8a
100644
(file)
--- a/
Source/WebCore/html/SearchInputType.cpp
+++ b/
Source/WebCore/html/SearchInputType.cpp
@@
-161,8
+161,7
@@
void SearchInputType::startSearchEventTimer()
unsigned length = element().innerTextValue().length();
if (!length) {
- stopSearchEventTimer();
- element().onSearch();
+ m_searchEventTimer.startOneShot(0_ms);
return;
}