Richard wrote:
Yes I do, the pages I'm testing with seem to be displaying and loading fine.
nsCOMPtr<nsIDocument> dom;
dom = do_QueryInterface(domdoc, &rv);
nsCOMPtr<nsIScriptGlobalObject> scriptGlobal =
dom->GetScriptGlobalObject();
and GetScriptGlobalObject returns NULL
I see. Are you building against a debug Gecko? Can you step into the
GetScriptGlobalObject() call and see what things look like there?
Also, when are you calling this code, generally speaking?
-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding