Update comments that point at the removed openUILinkIn function
Categories
(Firefox :: Address Bar, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: dao, Assigned: blessedonekobo, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
Filing as a good first bug to learn workflows.
There is no openUILinkIn function any more, but six comments still send the reader there for the list of supported parameters. The function that takes those parameters today is URILoadingHelper.openLinkIn, exposed on a browser window as openLinkIn; openUILink is the variant that derives where to open from an event's modifiers.
Each of those comments should name the function the surrounding code actually calls, and point at browser/modules/URILoadingHelper.sys.mjs, which is where the parameters are documented.
The comments to update are in four files, and this search lists them:
https://searchfox.org/firefox-main/search?q=openUILinkIn&case=false&path=
- browser/components/urlbar/content/UrlbarInputBase.mjs
- browser/components/urlbar/content/SmartbarInput.mjs
- browser/actors/ContentSearchParent.sys.mjs
- devtools/client/shared/link.js (three of them)
Or from a checkout:
rg openUILinkIn browser/ devtools/
To verify the fix, that same command should report nothing. Two further mentions are out of scope: a test manifest tag in browser/components/sessionstore/test/browser.toml, and a comment in toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/index.md.
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html
Please do not ask for the bug to be assigned. It will be automatically assigned to the first patch.
Comment 1•14 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
There is no openUILinkIn function any more, but six comments still send the reader there
for the list of supported parameters. The function that takes those parameters today is
URILoadingHelper.openLinkIn, exposed on a browser window as openLinkIn; openUILink is
the variant that derives where to open from an event's modifiers.
Updated•12 days ago
|
Comment 4•11 days ago
|
||
| bugherder | ||
Description
•