philippe wrote:
    rv = mWebNavigation->GetDocument(getter_AddRefs(myDomDoc));

    myHtmlDoc = do_QueryInterface(myDomDoc);
...

It appears that on the last call (myHtmlDoc->GetElementsByTagName),
myHtmlDoc  is null.

Is myDomDoc null?  If not, it's probably just not an HTML document, right?

1- I tried to load a page from an unconnected server. I just get
STATE_START:STATE_IS_REQUEST:STATE_IS_DOCUMENT:STATE_IS_NETWORK:STATE_IS_WINDOW
message into onStateCHange

And presumably the webnavigation's document is now an error page, which is not HTML?

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

Reply via email to