Yes I do, the pages I'm testing with seem to be displaying and loading fine.

--Richard
"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Richard wrote:
>> So here's what I'm doing now :
>> nsCOMPtr<nsIDOMWindow> domWnd;
>> rv = mWebBrowser->GetContentDOMWindow(getter_AddRefs(domWnd));
>>  nsCOMPtr<nsIDOMDocument> domdoc;
>> rv = domWnd->GetDocument(getter_AddRefs(domdoc));
>> nsCOMPtr<nsIDocument> dom;
>> dom = do_QueryInterface(domdoc, &rv);
>> nsCOMPtr<nsIScriptGlobalObject> scriptGlobal = 
>> dom->GetScriptGlobalObject();
>>  and GetScriptGlobalObject returns NULL
>
> Er... that really should not happen.  I assume you actually have a web 
> page loaded in this browser and such when you do this?
>
> -Boris 


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

Reply via email to