Open Bug 2079961 Opened 1 month ago Updated 14 days ago

Cleanup code related to the "General" pane in about:preferences

Categories

(Firefox :: Settings UI, task)

task

Tracking

()

People

(Reporter: hjones, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Whiteboard: [recomp])

As part of the settings redesign process we took all of the sections that used to live in the "General" pane and moved them into more specific panes. Since we no longer need to support this pane we should remove the code associated with it, much of which lives in main.js.

The dependent bugs are meant to cleanup a lot of the logic in main.js, so this is more of a catch all for auditing whatever code remains after those are complete. It might be helpful to start looking at what still lives in gMainPane, as well as any references to it in other preferences/ files as much of that logic can likely either be deleted or moved to a more specific config/ module.

Some logic may need to keep living in this file - specifically the registration of prefs/settings that are shared across multiple panes. We'll probably want to come up with a better system for this down the line, but that is out of scope here and will be tackled in bug 2078422.

Similar to our other cleanup tasks we'll also want to audit test files, CSS classes, Fluent IDs, xhtml files, and modal specific files to see if there's anything that will be completely unused/unreferenced once we've cleared more logic out of main.js.

Blocks: 2090273
You need to log in before you can comment on or make changes to this bug.