tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 57190359f45e31756bbeb06d143407f797b9d882
parent 976f513a86465f188c20f004b9171f03698bc84d
Author: Daisuke Akatsuka <daisuke@birchill.co.jp>
Date:   Sun, 21 Dec 2025 22:09:03 +0000

Bug 1971062: Ensure the search mode switch popup opens during testing r=daleharvey

Differential Revision: https://phabricator.services.mozilla.com/D277126

Diffstat:
Mbrowser/components/urlbar/tests/UrlbarTestUtils.sys.mjs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/browser/components/urlbar/tests/UrlbarTestUtils.sys.mjs b/browser/components/urlbar/tests/UrlbarTestUtils.sys.mjs @@ -1450,7 +1450,8 @@ class UrlbarInputTestUtils { "shown" ); let rebuildPromise = lazy.BrowserTestUtils.waitForEvent(popup, "rebuild"); - this.EventUtils.synthesizeMouseAtCenter(button, {}, win); + // Ensure the pop-up opens. + button.open = true; await Promise.all([promiseMenuOpen, rebuildPromise]); return popup;