Closed Bug 747567 Opened 12 years ago Closed 12 years ago

why has the pref defaults directory been changed from "defaults\pref" to "defaults\preferences" in 14.0a1 (2012-04-20)

Categories

(Firefox :: Settings UI, defect)

15 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Firefox 14

People

(Reporter: al_9x, Unassigned)

References

Details

this breaks user defined defaults, then you have to spend time figuring what happened
looks like a change from bug 746156
Blocks: 746156
Yup, that's right, this is a change from bug 746156.

I made the change to isolate the new webapp runtime from Firefox's preferences and to eliminate a set of hacks we previously had to employ to load the runtime's preferences.

If I had left Firefox's preferences in defaults/pref/, which is the GRE default preferences directory, then they would have continued to load for the runtime, causing problems for it like the one that required a special hack to make the runtime ignore Firefox's browser.hiddenWindowChromeURL preference. And we would have had to maintain a set of hacks just to load the runtime's preferences in the first place (without Firefox also loading them, but making sure they override Firefox's preferences).

With Firefox's preferences in defaults/preferences/, which is the xulapp default preferences directory (i.e. where preferences for xulapps like Firefox are designed to go), and the runtime's preferences in webapprt/defaults/preferences/, Firefox continues to load its preferences, but the runtime stops loading Firefox's preferences and instead only loads its own.
Blocks: 731054
Please reopen if we're missing something, but I don't think there is a bug here.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Target Milestone: --- → Firefox 14
Version: Trunk → 15 Branch
No longer blocks: 731054
22.0a1 is not reading defaults\preferences, bug or another change?
Another bug relating to the recent landing of metro. glandium would know the status of that.
yes, preferences are now in defaults/pref for GRE and browser/defaults/preferences for the browser.
You need to log in before you can comment on or make changes to this bug.