Closed
Bug 671798
Opened 14 years ago
Closed 14 years ago
Prefs from $gre/defaults/pref are not used in some cases
Categories
(Core :: Preferences: Backend, defect)
Core
Preferences: Backend
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(2 files)
|
3.76 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
|
2.67 KB,
patch
|
Details | Diff | Splinter Review |
After bug 620931, $gre/defaults/pref/*.js files are supposed to only be loaded when the application directory and the GRE directory are the same. That was the intent, but the code actually doesn't do that because of the semantics change that happened late in bug 620931. What the code currently does is that it will load $gre/defaults/pref/*.js unless there's an the application directory and the GRE directory are different and the application uses an omni.jar.
This means it works in all cases for plain Firefox but doesn't with xulrunner when the app is omnijar'ed. But xulrunner has its own prefs in $gre/defaults/pref/*.js, most notably when xulrunner itself is not omnijar'ed (like, when running it from the dist/bin directory).
This means we actually have a need to unconditionally load these prefs instead of skipping in some cases.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #547346 -
Flags: review?(benjamin)
| Assignee | ||
Comment 2•14 years ago
|
||
Assignee: nobody → mh+mozilla
Updated•14 years ago
|
Attachment #547346 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Whiteboard: [inbound]
Comment 4•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•