Closed Bug 316558 Opened 19 years ago Closed 19 years ago

Stop supporting a few old nsIComponentManagerObsolete methods

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

There are a few old nsIComponentManagerObsolete methods that I would like to stop implementing, so that I can do this nsIComponentLoader->nsIModuleLoader thing more easily:

  unregisterComponent()
  unregisterComponentSpec()

These functions are not used anywhere in our code except a couple of obsolete tests.
Assignee: dougt → benjamin
Status: NEW → ASSIGNED
Attachment #203131 - Flags: review?(darin)
nsIComponentManagerObsolete is used with plugins, no?  are you sure that there aren't any plugins in use that need this?
Pretty sure, yes... plugins do not typically register or unregister any components by location, if anything they register factories/services at runtime only.
Yeah, that would be my *guess* as well.  So, you want to just break it and see what happens then?
Yes. It's likely that the moduleloader patch would change the way it works anyway, so I'm trying to reduce risk by splitting that up into small digestible and testable pieces.
Comment on attachment 203131 [details] [diff] [review]
Stop implementing obsolete methods, rev. 1

Well, always good to remove dead code ;-)  r=darin

*crossing fingers*
Attachment #203131 - Flags: review?(darin) → review+
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 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: