Cleanup all code related to the old "Home" pane in about:preferences
Categories
(Firefox :: Settings UI, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: hjones, Assigned: nina-py)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(2 external files)
Once we are confident all the new Home and Startup preferences are working as expected / the SRD pref has been flipped for a while we should go back and cleanup all the unused code related to the old Home pane. Specifically we should:
- delete
browser/components/preferences/home.jsand cleanup any references - delete
browser/components/preferences/home.inc.xhtmland cleanup any references- check to see if there are any CSS styles, images, or other assets that are specific to that xhtml file and delete them
- check to see if there are any Fluent ID that will be completely unused after we remove this markup/JS code and delete them
- delete
browser/components/preferences/tests/home/browser.tomlas well as any test files that aren't included in thebrowser-srd.tomlmanifest- we should also probably rename the
browser-srd.tomlmanifest tobrowser.tomlonce we've deleted the old file
- we should also probably rename the
- remove any references to
gHomePane - remove any unused code in
/browser/extensions/newtab/lib/AboutPreferences.sys.mjs, specifically this method
Updated•5 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Removes the legacy Home pane and its New Tab half: home.js, home.inc.xhtml,
the renderer in AboutPreferences.sys.mjs, the SectionsManager.sys.mjs section
metadata that only fed that renderer, the Home styles and the superseded tests.
Tests that checked both UIs, including the enterprise policy helpers, keep only
the redesign path.
Merging the two test manifests in tests/home/ also restores twelve
browser_homepage_extension_*.js tests that bug 2037657 dropped from every
manifest, so they run again.
| Assignee | ||
Comment 2•2 months ago
|
||
Twenty-nine of these are orphaned by part 1. The other six were already unused,
left behind by bugs 1998829, 2003204, 2009106 and 2039925.
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d5b705fa5def
https://hg.mozilla.org/mozilla-central/rev/7350839fadc9
Updated•2 months ago
|
Description
•