Closed
Bug 8623
Opened 25 years ago
Closed 23 years ago
API: UnregisterComponent shouldn't return nsresult
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
WONTFIX
mozilla1.0
People
(Reporter: warrensomebody, Assigned: dougt)
References
Details
UnregisterComponent shouldn't return nsresult. It should never fail, causing the
NSUnregisterSelf to bail and not finish unregistering stuff.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Summary: UnregisterComponent shouldn't return nsresult → API: UnregisterComponent shouldn't return nsresult
Target Milestone: M10
Reporter | ||
Comment 1•25 years ago
|
||
You might want to make this change at the same time you split out NSRegisterSelf
and NSUnregisterSelf into an interface. While you're at it, you should clean up
everything to use GenericFactory -- actually a subclass of GenericFactory that
requires callbacks for RegisterSelf and UnregisterSelf (along with the DLL
version number, name, etc.)
Updated•25 years ago
|
Target Milestone: M10 → M14
Updated•25 years ago
|
Target Milestone: M14 → M17
Updated•25 years ago
|
Target Milestone: M17 → M20
Moving all current open XPCOM and XPCOM Registry bugs to rayw since dp is on
sabbatical. rayw is now default assignee for these components.
Assignee: dp → rayw
Status: ASSIGNED → NEW
Comment 3•24 years ago
|
||
This is part of a large number of issues related to "Registering Components in
XPCOM".
The interface that already contains registration and unregistration is
nsIModule, and does not return anything. The problem is that lots of DLLs are
not using it as they should.
Updated•24 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•24 years ago
|
||
Assigning rest of xpcom stuff to myself (from Ray).
Assignee: rayw → warren
Status: ASSIGNED → NEW
Component: XPCOM Registry → XPCOM
Target Milestone: M20 → mozilla1.0
Comment 5•24 years ago
|
||
dp is no longer @netscape.com. changing qa contact to default for this product
QA Contact: dp → kandrot
Comment 6•23 years ago
|
||
reasigning warren bugs to default component owners.
Assignee: warren → kandrot
QA Contact: kandrot → scc
Target Milestone: mozilla1.0 → ---
Comment 8•23 years ago
|
||
conrad, is unregistration implied w/ "replace" in the component manager?
Blocks: 70229
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 9•23 years ago
|
||
I disagree. everything can fail. I think that interface methods should return
nsresult's and code should deal with it.
marking invalid. reopen if opinions differ.
Assignee | ||
Updated•23 years ago
|
Keywords: mozilla1.0
Assignee | ||
Comment 10•23 years ago
|
||
Marking wont fix.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•