Closed
Bug 274958
Opened 20 years ago
Closed 16 years ago
don't return NS_ERROR_FAILURE when INITIAL-IZATION fails
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: timeless, Assigned: bastiaan)
References
()
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 3 obsolete files)
|
4.55 KB,
patch
|
Details | Diff | Splinter Review |
the proper thing to do is change from NS_GENERIC_FACTORY_CONSTRUCTOR to NS_GENERIC_FACTORY_CONSTRUCTOR_INIT
Updated•20 years ago
|
Whiteboard: [good first bug]
| Assignee | ||
Comment 1•19 years ago
|
||
as described in comment #0.
Assignee: prabhat.hegde → b.jacques
Status: NEW → ASSIGNED
| Assignee | ||
Updated•19 years ago
|
Attachment #189294 -
Flags: review?(smontagu)
| Assignee | ||
Updated•19 years ago
|
Keywords: helpwanted
| Assignee | ||
Updated•19 years ago
|
Attachment #189294 -
Flags: review?(smontagu)
| Assignee | ||
Comment 2•19 years ago
|
||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT needs a second argument..
Attachment #189294 -
Attachment is obsolete: true
Attachment #189295 -
Flags: review?(smontagu)
Comment 3•19 years ago
|
||
Comment on attachment 189295 [details] [diff] [review] better fix mCtlObj = do_CreateInstance(kLECID, &rv); - if (NS_FAILED(rv)) { + NS_ENSURE_TRUE(rv, rv); erm, this will return basically always... and it will show a warning in the common case that rv is NS_OK. + virtual nsresult Init(); why virtual?
| Assignee | ||
Comment 4•19 years ago
|
||
Thanks biesi!
Attachment #189295 -
Attachment is obsolete: true
Attachment #189332 -
Flags: review?(smontagu)
| Assignee | ||
Comment 5•19 years ago
|
||
..this time.
Attachment #189332 -
Attachment is obsolete: true
Attachment #189333 -
Flags: review?(smontagu)
| Assignee | ||
Updated•19 years ago
|
Attachment #189332 -
Flags: review?(smontagu)
| Assignee | ||
Updated•19 years ago
|
Attachment #189295 -
Flags: review?(smontagu)
| Assignee | ||
Updated•19 years ago
|
Attachment #189333 -
Flags: review?(smontagu) → review?(jshin1987)
| Assignee | ||
Updated•19 years ago
|
Attachment #189333 -
Flags: review?(jshin1987) → review?(smontagu)
Simon, this patch has been waiting for review for a few years...
Comment 7•16 years ago
|
||
Comment on attachment 189333 [details] [diff] [review] the right patch.. This is obsolete code AFAIK
Attachment #189333 -
Flags: review?(smontagu)
Component: Layout: CTL → Layout: Text
QA Contact: arthit → layout.fonts-and-text
Comment 8•16 years ago
|
||
RESO/INVALID per c#7 (Bastiaan, thanks for your efforts anyway)
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•