Closed Bug 132705 Opened 23 years ago Closed 23 years ago

nsComponentManagerUtils is wrong

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.0

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file, 1 obsolete file)

We need better error handling.  dbarons has a nice patch.
Attached patch dbaron's patch (obsolete) — Splinter Review
Comment on attachment 75509 [details] [diff] [review]
dbaron's patch

I would not worryied about the status from GetComponentManager and just have
status inited to a failure, but I am happy with this.
Attachment #75509 - Flags: review+
This avoids the NS_SUCCEEDED(status) check if compMgr is non-null.
Attachment #75509 - Attachment is obsolete: true
Keywords: mozilla1.0
Target Milestone: --- → mozilla1.0
Comment on attachment 75512 [details] [diff] [review]
slightly cleaner patch

r=dougt
Attachment #75512 - Flags: review+
Comment on attachment 75512 [details] [diff] [review]
slightly cleaner patch

sr=rpotts@netscape.com
Attachment #75512 - Flags: superreview+
Comment on attachment 75512 [details] [diff] [review]
slightly cleaner patch

a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #75512 - Flags: approval+
Checking in nsComponentManagerUtils.cpp;
/cvsroot/mozilla/xpcom/glue/nsComponentManagerUtils.cpp,v  <-- 
nsComponentManagerUtils.cpp
new revision: 1.3; previous revision: 1.2
done


dbaron, thank you for the patch.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: