Richard wrote:
nsCOMPtr<nsIDocument> dom = do_QueryInterface(mWebBrowser, &rv);
Right. nsWebBrowser does not implement nsIDocument.The safe thing to do here would probably be to get the contentDOMWindow from the web browser, then get the document from that.
-Bori _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
