Backed out changeset 2d7ce67f5874 (bug 940685) for mochitest-bc failures.

This commit is contained in:
Ryan VanderMeulen 2014-03-31 14:17:50 -04:00
parent 23286abbc0
commit 235ead78cf

View File

@ -2910,7 +2910,7 @@ const BrowserSearch = {
#endif
let openSearchPageIfFieldIsNotActive = function(aSearchBar) {
if (!aSearchBar || document.activeElement != aSearchBar.textbox.inputField)
openUILinkIn("about:home", "current");
openUILinkIn(Services.search.defaultEngine.searchForm, "current");
};
let searchBar = this.searchBar;