Closed
Bug 14352
Opened 27 years ago
Closed 24 years ago
Verify defaults in all.js prefs.
Categories
(SeaMonkey :: Preferences, defect, P3)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: gagan, Unassigned)
Details
(Keywords: helpwanted, Whiteboard: [nsbeta3-])
GetIntPref sets the value to zero and returns NS_OK for missing prefs. BAD BAD
BAD
Gagan, can you clarify what "missing prefs" mean? Does it mean the itself not
being found in the prefs.js file or is the pref missing from the default pref
files like all.js?
If, a pref is missing from prefs.js, then the libpref code looks if the pref has
a default value and then returns the default value. In the case of
rv = prefs->GetIntPref("network.proxy.http_port",&proxyPort); in
nsHTTPHandler.cpp, if "network.proxy.http_port" is not specified in prefs.js, it
is returning the default value of the pref i.e. 0, which is specified in all.js
pref("network.proxy.http_port", 0);
and returns NS_OK.
then we should remove that from all.js. There should not be any default value
for http proxy port.
There are some network.proxy..... prefs in all.js. Maybe, you or someone in
necko should check if these have the correct default values, or whether they
should have a default value, if at all.
Marking, this bug as invalid.
Status: RESOLVED → REOPENED
Summary: GetIntPref incorrectly returns NS_OK for missing prefs. → Verify defaults in all.js prefs.
Neeti this needs to remain open till default prefs in all.js are cleared by
their owners. I have updated the summary.
Comment 8•26 years ago
|
||
spam: added self to cc list as this might affect my realm.
Moving all libPref component bugs to new Preferences: Backend component.
libPref component will be deleted.
Component: libPref → Preferences: Backend
Comment 10•26 years ago
|
||
spam: moving qa contact on some bugs from paulmac to sairuh@netscape.com
QA Contact: paulmac → sairuh
| Reporter | ||
Comment 11•26 years ago
|
||
prefs to mcafee
Assignee: neeti → locka
Status: ASSIGNED → NEW
Component: Preferences: Backend → ActiveX Wrapper
QA Contact: sairuh → cpratt
Target Milestone: M18 → ---
| Reporter | ||
Comment 12•26 years ago
|
||
prefs to mcafee
Assignee: locka → neeti
Component: ActiveX Wrapper → Preferences: Backend
QA Contact: cpratt → sairuh
| Reporter | ||
Comment 13•26 years ago
|
||
argh... didn't work the last time. pardon the spam. ->mcafee
Assignee: neeti → mcafee
Component: Preferences: Backend → Preferences
Comment 15•26 years ago
|
||
this is a stale bug. it has not been touched in 30 days. it is still the same.
some of the of the applications that are missing in the pref menue is in
apprearance.the show tool bar as.. is missin and the cookie option is missing also
Comment 16•26 years ago
|
||
i know it's rather late to nominate for beta3, but, what the hell. cc'ing qa
folk who're also checking out backend prefs from an automation stance (if even
feasible).
Keywords: helpwanted,
nsbeta3
Comment 17•26 years ago
|
||
I have no clue what pref defaults should or shouldn't be.. that's really up to
the folks responsible for their module.
Assignee: dveditz → nobody
Whiteboard: [nsbeta3-]
Updated•26 years ago
|
Hardware: PC → All
Comment 18•24 years ago
|
||
I don't think this bug is currently useful to anyone...
Status: NEW → RESOLVED
Closed: 27 years ago → 24 years ago
Resolution: --- → INVALID
Updated•22 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•