Hello,

I have 1 standalone application which is embedding the Gecko rendering
engine (compiled from Mozilla 1.8.1 sources) and display rendered web page
onto 1 3D plane (with Ogre 3D engine).
It is OK, it works fine ...

Now I m trying to write 1 Mozilla plugin instead of my standalone
application so I compile/link with the Mozilla SDK files/libs, it still ok
... my application is launched, but when I try to create the embedded
browser then it fails into

xpcwrappednativescope.cpp:200

void
XPCWrappedNativeScope::SetGlobal(XPCCallContext& ccx, JSObject* aGlobal)
{
. . .
        if(OBJ_GET_PROPERTY(ccx, aGlobal, idObj, &val) &&
           !JSVAL_IS_PRIMITIVE(val) &&
           OBJ_GET_PROPERTY(ccx, JSVAL_TO_OBJECT(val), idProto, &val) &&
           !JSVAL_IS_PRIMITIVE(val))
        {
            mPrototypeJSObject = JSVAL_TO_OBJECT(val);
        }
        else
        {
===>            NS_ERROR("Can't get globalObject.Object.prototype");
        }


Call stack is:

-- 
View this message in context: 
http://www.nabble.com/Embedded-Gecko-rendering-engine-into-1-Firefox-plugin-tf4776655.html#a13663917
Sent from the Mozilla - Embedding mailing list archive at Nabble.com.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to