Closed Bug 2078165 Opened 1 month ago Closed 1 month ago

Remove the unused browser.urlbar.extension.timeout pref

Categories

(Firefox :: Address Bar, task, P5)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dao, Assigned: mirko, Mentored)

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(1 external file, 1 obsolete file)

Filing as a good first bug to learn workflows.

Nothing reads the browser.urlbar.extension.timeout pref any more. Remove its default from browser/app/profile/firefox.js and its entry in the address bar's pref list in browser/components/urlbar/UrlbarPrefs.sys.mjs. Its documentation was already removed in bug 2077972.

Link to the code:
https://searchfox.org/firefox-main/rev/b4b9efb6ee130740a94caf46ffff0625af1d51db/browser/components/urlbar/UrlbarPrefs.sys.mjs#169
https://searchfox.org/firefox-main/rev/b4b9efb6ee130740a94caf46ffff0625af1d51db/browser/app/profile/firefox.js#738

To verify the fix:

./mach lint browser/app/profile/firefox.js browser/components/urlbar/UrlbarPrefs.sys.mjs
./mach xpcshell-test browser/components/urlbar/tests/unit

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

Severity: -- → N/A
Priority: -- → P5
Assignee: nobody → mirko
Status: NEW → ASSIGNED
Attachment #9657877 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [search][qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: