Closed
Bug 463023
Opened 16 years ago
Closed 16 years ago
nsIAutoCompleteController::searchStatus is initialized to 0, which is not a documented constant (nsAutoCompleteController::mSearchStatus)
Categories
(Toolkit :: Autocomplete, defect)
Toolkit
Autocomplete
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: asqueella, Assigned: rsesek)
Details
(Keywords: verified1.9.1)
Attachments
(2 files)
818 bytes,
patch
|
Gavin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
2.38 KB,
patch
|
Gavin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
initialization code: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/autocomplete/src/nsAutoCompleteController.cpp#75 Contradicting interface documentation: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/autocomplete/public/nsIAutoCompleteController.idl#47 probably should be initialized to STATUS_NONE (==1).
Reporter | ||
Updated•16 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #355180 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #355180 -
Flags: review? → review?(gavin.sharp)
Updated•16 years ago
|
Attachment #355180 -
Flags: review?(gavin.sharp) → review+
Comment 2•16 years ago
|
||
Comment on attachment 355180 [details] [diff] [review] Patch [Checkin: Comment 7] Was this proving to be a problem in practice? I'd be interested to know the details if it was. Thanks for the patch!
Comment 3•16 years ago
|
||
A test for this would be nice too, if you're interested in doing that. There are some examples here: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/autocomplete/tests/unit/
Assignee | ||
Comment 4•16 years ago
|
||
Here's a unit test to go along with the patch.
Assignee | ||
Updated•16 years ago
|
Attachment #355191 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 5•16 years ago
|
||
I don't think this was causing any actual problems, unless somebody was checking searchStatus before doing anything. Once the search has been started, the status would have been set correctly.
Comment 6•16 years ago
|
||
Comment on attachment 355191 [details] [diff] [review] Unit test [Checkin: Comment 8] I guess we could have just added this to one of the existing tests given how simple it is, but this will do! Thanks again.
Attachment #355191 -
Flags: review?(gavin.sharp) → review+
Comment 7•16 years ago
|
||
Comment on attachment 355180 [details] [diff] [review] Patch [Checkin: Comment 7] http://hg.mozilla.org/mozilla-central/rev/05f55cd484b8
Attachment #355180 -
Attachment description: Patch → Patch
[Checkin: Comment 7]
Comment 8•16 years ago
|
||
Comment on attachment 355191 [details] [diff] [review] Unit test [Checkin: Comment 8] http://hg.mozilla.org/mozilla-central/rev/4dd8076af484
Attachment #355191 -
Attachment description: Unit test → Unit test
[Checkin: Comment 8]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Comment 9•16 years ago
|
||
Comment on attachment 355191 [details] [diff] [review] Unit test [Checkin: Comment 8] askin approval for 1.9.1, code cleanup, no risk.
Attachment #355191 -
Flags: approval1.9.1?
Updated•16 years ago
|
Attachment #355191 -
Flags: approval1.9.1? → approval1.9.1+
Comment 10•16 years ago
|
||
Comment on attachment 355191 [details] [diff] [review] Unit test [Checkin: Comment 8] a191=beltzner
Comment 11•16 years ago
|
||
Comment on attachment 355180 [details] [diff] [review] Patch [Checkin: Comment 7] a191=beltzner
Attachment #355180 -
Flags: approval1.9.1+
Comment 12•16 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/fc0dff7dd975 http://hg.mozilla.org/releases/mozilla-1.9.1/rev/39ca07d6c5b3
Keywords: fixed1.9.1
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•