VOOZH about

URL: https://phabricator.services.mozilla.com/D299174

⇱ ⚙ D299174 Bug 2022527 - Remove the hack from bug 2007147. r?dao


Bug 2022527 - Remove the hack from bug 2007147. r?dao
AcceptedPublic

Authored by mbeier on May 7 2026, 4:56 PM.
Referenced Files
Unknown Object (File)
Tue, Jun 16, 9:26 PM
Unknown Object (File)
Mon, Jun 15, 5:48 PM
Unknown Object (File)
Sat, Jun 6, 12:38 AM
Unknown Object (File)
Wed, Jun 3, 6:12 PM
Unknown Object (File)
Mon, Jun 1, 3:19 PM
Unknown Object (File)
Mon, Jun 1, 4:35 AM
Unknown Object (File)
Mon, Jun 1, 4:02 AM
Unknown Object (File)
Thu, May 28, 6:33 PM
Subscribers

Details

Reviewers
dao
Group Reviewers
urlbar-reviewers
Bugzilla Bug ID
2022527
Summary

Changing the popupshowing listeners to contextmenu is necessary because one of them hides the view which calls hidePopover on the urlbar, preventing the context menu from showing because of bug 2037468. Using a contextmenu listener instead calls hidePopover before the contextmenu starts showing, avoiding the bug.

Diff Detail

Repository
rFIREFOXAUTOLAND firefox-autoland
Branch
HEAD

Event Timeline

phab-bot published this revision for review.May 7 2026, 4:56 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
dao added inline comments.
browser/components/urlbar/content/UrlbarInput.mjs
4650

It shouldn't hurt to just call this unconditionally, I think.

This revision is now accepted and ready to land.Fri, May 29, 5:27 AM
Comment Actions

One test is now failing (browser/components/urlbar/tests/browser-searchMode/browser_indicator.js). I believe this is caused by bug 2043545 so I'll wait until that's fixed.

Comment Actions

Code analysis found 2 defects in diff 1286744:

  • 2 defects found by typescript (Mozlint)
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.

You can run this analysis locally with:


If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 1286744.

Revision Contents

PathSize
browser/
components/
urlbar/
6 lines
content/
96 lines
tests/
browser/
searchbar/
2 lines
CommitTreeParentsAuthorSummaryDate
b1dbd5a6d1d43c6bccd069bbb7b9235d7b58Moritz Beier
Bug 2022527 - Remove the hack from bug 2007147. r?dao (Show More…)
Apr 15 2026, 11:57 AM

Diff 1286744

browser/components/urlbar/UrlbarView.sys.mjs

Loading...

browser/components/urlbar/content/UrlbarInput.mjs

Loading...

browser/components/urlbar/tests/browser/searchbar/browser_searchbar_customizing_nobreakout.js

Loading...