How does interface name resolution work from javascript work. For
example what happens in the following javascript, if 'plugin' is a
reference to a plugin in the page:
var plugin = 'plugin id';
var interface = plugin.QueryInterface(Components.interfaces.IPlugin);
In this case how does javascript know which IPlugin to use, given that
there may be a number of interfaces called IPlugin. As I understand it
the namespace feature in XPCOM is not implemented, therefore is there
not a problem with multiple vendors providing components which have the
same interface names. Is there any way to get around this?
Dave