Hi all,

Can someone show me how to embed mozilla, so that I can load a page and
access its dom using the W3C
Connector<http://svn.rubyrailways.com/W3CConnector/>,
in the simplest possible way?


I have tried the following using eclipse ATF classes

Display display = new Display();
Shell shell = new Shell(display);
shell.open ();
org.eclipse.swt.browser.MozillaBrowser mb = new MozillaBrowser(shell,
SWT.NONE);
mb.setUrl("http://www.google.com";);

setUrl requests the page, I sniffed network activity the page is being
transmitted.
But when I set a breakpoint at that location thereby giving it time to
complete loading and then execute

mb.getUrl();

I get about:blank instead of the google url.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to