Closed
Bug 281862
Opened 21 years ago
Closed 19 years ago
AutoComplete MDBResult's GetCommentAt method returns NS_ERROR_NOT_IMPLEMENTED but it is!
Categories
(Toolkit :: Autocomplete, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8.1beta1
People
(Reporter: bugs, Assigned: zeniko)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
926 bytes,
patch
|
mconnor
:
first-review+
bryner
:
second-review+
benjamin
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
Witness the insanity:
http://lxr.mozilla.org/seamonkey/source/toolkit/components/autocomplete/src/nsAutoCompleteMdbResult.cpp#128
nsAutoCompleteMdbResult::GetCommentAt is properly implemented except some bozo
*kicks hewitt* forgot to change return NS_ERROR_NOT_IMPLEMENTED to return NS_OK!
This doesn't affect any Firefox code since all the uses are in C++ and they all
ignore the error code... in JS however not only does it throw, it also doesn't
return the out param, meaning that I can't even paper over it with try..catch
because it'd still not give me any useful data. This shipped with 1.0 to 25
million people. Curses. C++ shim, here I come.... but let's fix it anyway.
Reporter | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.8beta2
Assignee | ||
Comment 1•20 years ago
|
||
Any reason this obvious one-line fix should not get in for Firefox 1.5?
Attachment #198768 -
Flags: first-review?(bugs)
Assignee | ||
Updated•20 years ago
|
Flags: blocking1.8rc1?
Updated•20 years ago
|
Flags: blocking1.8rc1? → blocking1.8rc1-
Comment 2•20 years ago
|
||
Comment on attachment 198768 [details] [diff] [review]
return NS_OK
driveby r=me, probably useful for Fx2 at some point.
Attachment #198768 -
Flags: first-review?(bugs) → first-review+
Assignee | ||
Updated•20 years ago
|
Attachment #198768 -
Flags: second-review?(bryner)
Attachment #198768 -
Flags: approval1.8.1?
Comment 3•20 years ago
|
||
Comment on attachment 198768 [details] [diff] [review]
return NS_OK
This code is disappearing on the 1.8 branch.
Attachment #198768 -
Flags: approval1.8.1? → approval1.8.1-
Updated•20 years ago
|
Attachment #198768 -
Flags: second-review?(bryner) → second-review+
Comment 4•19 years ago
|
||
Comment on attachment 198768 [details] [diff] [review]
return NS_OK
Or not... ;)
Attachment #198768 -
Flags: approval1.8.1- → approval-branch-1.8.1?(benjamin)
Updated•19 years ago
|
Assignee: bugs → zeniko
Status: ASSIGNED → NEW
Updated•19 years ago
|
Whiteboard: [checkin needed]
Updated•19 years ago
|
Priority: P3 → --
Target Milestone: mozilla1.8beta2 → mozilla1.8.1beta1
Version: unspecified → 1.8 Branch
Updated•19 years ago
|
Attachment #198768 -
Flags: approval-branch-1.8.1?(benjamin) → approval-branch-1.8.1+
Comment 5•19 years ago
|
||
mozilla/toolkit/components/autocomplete/src/nsAutoCompleteMdbResult.cpp 1.9.10.2
mozilla/toolkit/components/autocomplete/src/nsAutoCompleteMdbResult.cpp 1.13
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•19 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•