Hi,
what I'm trying to do is to get access to JSObject and JSContext of
embedded Gecko.
I've tried following:
const
goo: TGUID = '{fd25ca8e-6b63-435f-b8c6-b80768a40adc}';
var
theGlobalObjectOwner: nsIScriptGlobalObjectOwner;
theGlobalObject: nsIScriptGlobalObject;
begin
FBrowser.QueryInterface(goo, theGlobalObjectOwner);
unfortunately, QueryInterface returns FAIL ... so, what is wrong?
FBrowser casted as nsIWebNavigation works fine, so that is not the
problem ...
theGlobalObjectOwner:= FBrowser as nsIScriptGlobalObjectOwner; causes
error that interface is not supported :/
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding