Hi, Currently, Components.interfaces implements nsIScriptableInterfaces and can be invoked with contract id "@mozilla.org/scriptableinterfaces;1" That interface allow to define an non default nsIInterfaceInfoManager for Components.interfaces See bug #123770 It looks unused today. So maybe, nsIScriptableInterfaces can be simplified back to nsIXPCComponents_Interfaces. That would be more consistent with other Components property.
Created attachment 552055 [details] [diff] [review] rename nsIScriptableInterfaces and nsIScriptableInterfacesByID patch proposal: remove setManager, rename nsIScriptableInterfaces to nsIXPCComponents_Interfaces, define it in xpccomponents.idl, and make Components.interfaces not an xpcom object anymore
I've tested this patch already. It looks like it breaks nothing: http://tbpl.mozilla.org/?tree=Try&rev=3adb6f0528ac
Comment on attachment 552055 [details] [diff] [review] rename nsIScriptableInterfaces and nsIScriptableInterfacesByID Yes, please.