Yup. We are not shipping proxyObject.xpt.
I just filed a bug against dougt...
http://bugzilla.mozilla.org/show_bug.cgi?id=83714
John.
Greg Thokle wrote:
>
> The attached html file runs without a problem in the debug
> build but generates the following error in the nondebug build.
> The nondebug build is from the 0.9 Installer.exe The debug
> build is from the 0.9 source.
>
> 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
>
>
> This is a test. Check the command window output to see if the
> proxy manager loaded successfully.