Remove three unused activity-stream discoverystream.thumbsUpDown.* preferences
Categories
(Firefox :: New Tab Page, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: nirmaladvani, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
Filing as a good first bug to learn workflows.
The following about:newtab preferences (defined in browser/app/profile/firefox.js) are never read anywhere in the tree. They were the region/locale gating config for the story thumbs up/down buttons (bug 1909900, 2024), but their reader in browser/components/newtab/lib/ActivityStream.sys.mjs and the Nimbus mapping were dropped when newtab moved to browser/extensions/newtab/. The current PREFS_CONFIG and Nimbus FeatureManifest.yaml no longer reference them. Please remove their definitions.
browser.newtabpage.activity-stream.discoverystream.thumbsUpDown.locale-thumbs-configbrowser.newtabpage.activity-stream.discoverystream.thumbsUpDown.region-thumbs-configbrowser.newtabpage.activity-stream.discoverystream.thumbsUpDown.searchTopsitesCompact
Link to the code:
https://searchfox.org/mozilla-central/source/browser/app/profile/firefox.js#2074
To verify the fix:
- Confirm each pref has no remaining users by searching its name (and the sub-keys
locale-thumbs-config,region-thumbs-config,searchTopsitesCompact) on https://searchfox.org (only the definition should match). - Build the tree to make sure nothing breaks:
./mach build
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.
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
I think I made mistake with my git for author as it shows author Your Name <you@example.com>. Is there a way to make correction or that boat has already sailed?
Comment 4•2 months ago
|
||
| bugherder | ||
Comment 5•2 months ago
|
||
| bugherder | ||
Comment 6•2 months ago
|
||
| bugherder | ||
Comment 7•2 months ago
|
||
| bugherder | ||
Updated•1 month ago
|
Description
•