Re: Cannot get nsIDOMDocument

Carfield Yim <[email protected]>
Newsgroups gmane.comp.mozilla.devel.oji
Organization http://groups.google.com
Message-ID <[email protected]>
> You haven't called initEmbedding(), you haven't set up the window to
> draw into, you haven't loaded a page.  Basically, you need to do more
> than what you have here.
>
> Take a look at the ATF implementation (embeds XULRunner in an Java SWT
> app):http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.atf/components/p...,
> starting with the MozillaBrowser contructor, which sets everything up.
>
> The MozillaHelper.getMozillaInstance() call is what actually calls
> initialize() and initEmbedding(), as seen here:http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.atf/components/p...
>
> Once you've set everything up as shown, you should be able to call
> getContentDOMWindow().
>
> javier pedemonte

Actually there is just some config problem of my development
environment. However eclipse ATF plugin choose to hide all the
exceptions to user :-/ You can refer to this to get what I mean :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=191507
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.