backed out changeset b798fd098e09 (bug 1042561) for assertion failure in mochitests

This commit is contained in:
Carsten "Tomcat" Book 2015-03-20 13:32:28 +01:00
parent dc374741b9
commit 0a27b92b32

View File

@ -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();
}
}