Closed Bug 1111670 Opened 10 years ago Closed 1 year ago

Stop shipping unused defaults/profile files

Categories

(Toolkit :: Startup and Profile System, defect)

36 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: aleth, Unassigned)

References

Details

When packaged, browser/omni.ja contains files in defaults/profile that should be copied to fresh profiles. However, this does not happen - probably because the code in [1] does not support omni.ja.

Is this a bug, or are these files dead code?

[1] http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/profile/nsToolkitProfileService.cpp?mark=783#783
Flags: needinfo?(past)
Blocks: 1111584
No longer blocks: 1111584
Blocks: 1111584
I don't know this code all that well. Looking at hg blame, maybe smaug can help you.
Flags: needinfo?(past) → needinfo?(bugs)
I know nothing about omni.ja
Maybe bsmedberg knows.



(The code I changed was just for Bug 756131)
Flags: needinfo?(bugs) → needinfo?(benjamin)
This is dead code and should be removed. We should no longer support copying profile defaults when we create a new profile.
Flags: needinfo?(benjamin)
Component: General → Startup and Profile System
Product: Firefox → Toolkit
The files currently in browser/omni.ja/defaults/profile are

prefs.js
mimeTypes.rdf
localstore.rdf
bookmarks.html
chrome/userContent-example.css
chrome/userChrome-example.css

Currently the default contents of these files is likely not be populated correctly in fresh profiles. The user*.css examples are simply missing.
That is intentional. We should stop shipping those files.
Morphing per comment #5.

I guess we should also remove the unused code in nsToolkitProfileService?
Flags: needinfo?(benjamin)
OS: Mac OS X → All
Hardware: x86 → All
Summary: Files from defaults/profile are missing in new profiles → Stop shipping unused defaults/profile files
If Thunderbird isn't using it, yes.
Flags: needinfo?(benjamin)
Severity: normal → S3

It appears that we no longer ship these files.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.