Backed out 2 changesets (bug 1793414) for causing browser-chrome failures in browser/components/search/test/browser/browser_searchbar_context.js CLOSED TREE

Backed out changeset f27b2a93224e (bug 1793414)
Backed out changeset 1f011637d116 (bug 1793414)
This commit is contained in:
Sandor Molnar
2022-10-06 12:03:15 +03:00
parent 63ff6feee7
commit 6dd3eab3a1
7 changed files with 31 additions and 85 deletions

View File

@@ -4370,6 +4370,12 @@ const BrowserSearch = {
);
},
pasteAndSearch(event) {
BrowserSearch.searchBar.select();
goDoCommand("cmd_paste");
BrowserSearch.searchBar.handleSearchCommand(event);
},
/**
* Returns the search bar element if it is present in the toolbar, null otherwise.
*/