Any reason why Components.interfaces.nsIProxyObjectManager would be null in the Installer.exe release?
JAVASCRIPT
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
dump("In loadIt\n");
var proxyMgr = Components.classes["@mozilla.org/xpcomproxy;1"] .getService();
dump("ProxyMgr1=" + proxyMgr + "\n");
proxyMgr = proxyMgr.QueryInterface(Components.interfaces.nsIProxyObjectManager);
dump("ProxyMgr2=" + proxyMgr + "\n");
RUNTIME OUTPUT
In loadIt
ProxyMgr1=[xpconnect wrapped nsISupports]
JavaScript error: line 0: uncaught exception: [Exception... "Could
not convert JavaScript argument (NULL value can not be used for a C++ reference
type) arg 0 [nsISupports.QueryInterface]" nsresult: "0x8057000b (NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF)"
location: "JS frame :: file:///D:/Program%20Files/Mozilla.org/Mozilla/res/samples/ProxyTest.html
:: loadIt :: line 16" data: no]
Thanks,
--
Greg Thokle
