Remove unused preference browser.tabs.remote.enforceRemoteTypeRestrictions
Categories
(Core :: DOM: Content Processes, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: blessedonekobo, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
browser.tabs.remote.enforceRemoteTypeRestrictions (defined in modules/libpref/init/all.js, overridden in browser/app/profile/firefox.js) has no remaining reader.
Found by a static analysis of preference usage across mozilla-central: extract every defined pref, then scan the whole tree for each pref's name, its generated StaticPrefs::<id>() / Rust accessor identifier, set_spidermonkey_pref plumbing, and dynamic name-assembly patterns (macro ## paste, adjacent string literals, prefix + leaf concatenation, GetChildList enumeration). Static analysis cannot see access from add-ons or other external consumers, so please confirm before landing
| Reporter | ||
Comment 1•2 months ago
|
||
Turning this into a good first bug to help a newcomer learn the workflow.
Link to the code:
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#1909
https://searchfox.org/mozilla-central/source/browser/app/profile/firefox.js#1113
To verify the fix:
- Confirm the pref has no remaining users by searching for
browser.tabs.remote.enforceRemoteTypeRestrictionson 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.
Updated•29 days ago
|
Comment 4•29 days ago
|
||
| bugherder | ||
Updated•17 days ago
|
Description
•