Steve Sobol wrote:
I'm embedding Mozilla into a Java app using XULRunner 1.9.2, and I am
looking for a web page's favicon... so I do this:
nsIFaviconService fave = (nsIFaviconService)webBrowser.
queryInterface(nsIFaviconService.NS_IFAVICONSERVICE_IID);
The webbrowser object doesn't implement nsIFaviconService. You need to
get it from the service manager with the contract ID
"@mozilla.org/browser/favicon-service;1".
-christian
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding