Bug 1880913 - Part 4: Remove BrowserSearch.searchBar getter. r=search-reviewers,scunnane

Differential Revision: https://phabricator.services.mozilla.com/D235598
This commit is contained in:
Moritz Beier
2025-02-04 11:07:12 +00:00
parent 152f732f88
commit 4ff8ed5deb
26 changed files with 75 additions and 86 deletions

View File

@@ -19,7 +19,7 @@ add_task(async function test_setup() {
// |shouldWork| should be true if opensearch is expected to work and false if
// it is not.
async function test_opensearch(shouldWork) {
let searchBar = BrowserSearch.searchBar;
let searchBar = document.getElementById("searchbar");
let rootDir = getRootDirectory(gTestPath);
let tab = await BrowserTestUtils.openNewForegroundTab(