Re: Using NewAPI embedding example to recieve javascript events

2010-03-23 Thread Carey
I have got it to work now thanks. The problem was a combination of adding the listener too early and having the wrong event names eg onclick instead of click. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listin

Re: JavaXPCOM, nsIFavIconService

2010-03-23 Thread Steve Sobol
In article <5_udnss6lv2_wzxwnz2dnuvz_hqdn...@mozilla.org>, grant_ga...@ca.ibm.com says... > > The lines you want are: > > nsIServiceManager serviceManager = > Mozilla.getInstance().getServiceManager(); > nsIFaviconService service = > (nsIFaviconService)serviceManager.getServiceByContractID("@moz

Re: Access local file from webpage

2010-03-23 Thread testols ols
I am still stuck at this issue. Any help or pointer is very much appreciated. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: JavaXPCOM, nsIFavIconService

2010-03-23 Thread Grant Gayed
The lines you want are: nsIServiceManager serviceManager = Mozilla.getInstance().getServiceManager(); nsIFaviconService service = (nsIFaviconService)serviceManager.getServiceByContractID("@mozilla.org/brows er/favicon-service;1", nsIFaviconService.NS_IFAVICONSERVICE_IID); If you're asking which s