Closed
Bug 284959
Opened 20 years ago
Closed 20 years ago
warning at nsPrefService.cpp:747 when defaults/pref directory not found
Categories
(Core :: Preferences: Backend, defect)
Core
Preferences: Backend
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
Attachments
(1 file)
1.31 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
warning at nsPrefService.cpp:747 when defaults/pref directory not found
The pref_LoadPrefsInDir function returns an error when the given directory does
not exist. That causes nsPrefService to output a NS_WARNING. In the case of
xulrunner, which doesn't have a defaults/pref directory (since there are no
xulrunner specific prefs), this results in the warning at startup:
WARNING: Error parsing application default preferences., file
c:/builds/moz-trunk/mozilla/
modules/libpref/src/nsPrefService.cpp, line 747
That warning seems concerning, but it really isn't anything to be concerned
with. I think we should suppress this warning when the directory simply doesn't
exist.
Patch coming up.
![]() |
Assignee | |
Comment 1•20 years ago
|
||
Simple patch. Fix pref_LoadPrefsInDir to not return an error in this case.
Attachment #176419 -
Flags: review?(benjamin)
![]() |
Assignee | |
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta2
Updated•20 years ago
|
Attachment #176419 -
Flags: review?(benjamin) → review+
![]() |
Assignee | |
Comment 2•20 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•