Closed
Bug 1585421
Opened 5 years ago
Closed 5 years ago
Have the Static Prefs linter detect duplicates in more pref files
Categories
(Core :: Preferences: Backend, enhancement)
Core
Preferences: Backend
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: KrisWright, Assigned: KrisWright)
References
Details
Attachments
(1 file)
There are several pref files that could potentially contain duplicates with StaticPrefList.yaml
that aren't currently being linted, such as:
browser/app/profile/firefox.js
mobile/android/app/mobile.js
devtools/client/preferences/debugger.js
mobile/android/app/geckoview-prefs.js
browser/branding/official/pref/firefox-branding.js
browser/branding/nightly/pref/firefox-branding.js
browser/branding/unofficial/pref/firefox-branding.js
browser/branding/aurora/pref/firefox-branding.js
browser/app/profile/channel-prefs.js
mobile/android/installer/mobile-l10n.js
mobile/android/locales/en-US/mobile-l10n.js
To properly detect duplication between these files may require some extra consideration (such as the value
field), which I noted in in this bug. As of right now lintpref only cares about the names of prefs.
Assignee | ||
Comment 1•5 years ago
|
||
Adds the filepaths of more pref files to Lintpref as well as to its TaskCluster entry. All of the pref files added are noted in bug 1585421.
Pushed by kwright@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/92b79faea252 Expand the usage of Lintpref into more pref files r=ahal
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•5 years ago
|
Assignee: nobody → kwright
You need to log in
before you can comment on or make changes to this bug.
Description
•