mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
backed out changeset b798fd098e09 (bug 1042561) for assertion failure in mochitests
This commit is contained in:
parent
c150e8dbed
commit
cb5b2490cb
@ -1505,7 +1505,7 @@ nsAutoCompleteController::ProcessResult(int32_t aSearchIndex, nsIAutoCompleteRes
|
||||
// get results in the future to avoid unnecessarily canceling searches.
|
||||
if (mRowCount || !minResults) {
|
||||
OpenPopup();
|
||||
} else if (mSearchesOngoing == 0) {
|
||||
} else if (result != nsIAutoCompleteResult::RESULT_NOMATCH_ONGOING) {
|
||||
ClosePopup();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user