Jon Smirl wrote:

> I think lack of getInterfaces() is a bigger problem than I orginally
> thought. For example you can't build an object inspector (like OLEView) for
> XPCOM objects. OLEView works because the typelibs contain the interface
> list, with XPCOM there is no way to get this list unless the object supports
> classInfo which 99% do not.

And that's the problem.  We need to go and make more things support 
classinfo, because it also lets us expose things like threadsafety of 
implementation and certain content-scriptability attributes.

Retrofitting meaningful getInterfaces support onto every implementation 
of nsISupports doesn't sound much easier than making everything use the 
CI macros to get classinfo.

Mike


Reply via email to