but how do I get the interface to the nsIDocument will something like this work; nsCOMPtr<nsIDocument> dom = do_QueryInterface(mWebBrowser, &rv);
"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Richard wrote: >> The one displaying content, so I guess the topmost html one? In my >> embedded app I only plan on having a single page visible at a time. > > Well, if you have a given document, you can always set the location to a > javascript: URI to execute script in that document.... > > You can also get the nsIScriptGlobalObject from nsIDocument, etc, but > those interfaces are not frozen and are subject to change without notice. > > -Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
