nsIComponentLoader is dead - long live nsIModuleLoader! Take the

opportunity to remove support for nsIComponentManagerObsolete, and
formalize a nice shutdown API.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@186246 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au
2005-12-19 05:05:45 +00:00
parent d1179099dd
commit afc19f2f56
14 changed files with 123 additions and 551 deletions

View File

@@ -140,7 +140,10 @@ class DefaultPolicy:
self._iid_ = iid
if ni is None:
raise ValueError, "The object '%r' can not be used as a COM object" % (instance,)
# This is really only a check for the user
# This is really only a check for the user - the same thing is
# done by the framework.
# XXXmarkh - this should probably die now we have better error
# reporting in the framework!
if __debug__:
if iid != IID_nsISupports and iid not in ni:
# The object may delegate QI.