Closed
Bug 229083
Opened 21 years ago
Closed 21 years ago
keyword.enabled preference is required.
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: patrick)
References
()
Details
Attachments
(1 file, 1 obsolete file)
846 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
There is no clear reason why this pref shouldn't be optional defaulting to some
value (probably false)
Assignee | ||
Comment 1•21 years ago
|
||
I agree, that's kind of harsh. Attached is a patch that makes the presence of
the pref optional. If it is not there, we assume false.
Updated•21 years ago
|
Attachment #139817 -
Flags: superreview?(bz-vacation)
Attachment #139817 -
Flags: review?(bz-vacation)
![]() |
||
Comment 2•21 years ago
|
||
I don't believe the prefs api guarantees not touching the out param on failure
(XPCOM apis generally do not). So you need to set the our param to your default
value if the call fails. Other than that, looks reasonable.
Assignee | ||
Comment 3•21 years ago
|
||
revision as per bz's comment.
note that nsDocShell::Create calls mPrefs multiple times without checking the
retval, so we might want to clean that up in the future.
Assignee | ||
Updated•21 years ago
|
Attachment #139817 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #139965 -
Flags: superreview?(bsmedberg)
Attachment #139965 -
Flags: review?(bsmedberg)
Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 139965 [details] [diff] [review]
revised to handle failure case
oops, I got that all backwards.
Attachment #139965 -
Flags: superreview?(bsmedberg)
Attachment #139965 -
Flags: review?(bsmedberg)
Assignee | ||
Updated•21 years ago
|
Attachment #139965 -
Flags: superreview?(bz-vacation)
Attachment #139965 -
Flags: review?(bz-vacation)
![]() |
||
Comment 5•21 years ago
|
||
Comment on attachment 139817 [details] [diff] [review]
patch that makes the presence of "keyword.enabled" optional, defaults to false
Please remove obsolete review requests...
Attachment #139817 -
Flags: superreview?(bz-vacation)
Attachment #139817 -
Flags: review?(bz-vacation)
![]() |
||
Comment 6•21 years ago
|
||
Comment on attachment 139965 [details] [diff] [review]
revised to handle failure case
r+sr=bzbarsky.
Attachment #139965 -
Flags: superreview?(bz-vacation)
Attachment #139965 -
Flags: superreview+
Attachment #139965 -
Flags: review?(bz-vacation)
Attachment #139965 -
Flags: review+
![]() |
||
Updated•21 years ago
|
Assignee: dougt → patrick
![]() |
||
Comment 7•21 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•