Re: GECKO 14: How to get thread safe object of nsIWebProgress

2012-08-03 Thread salilakumar
On Friday, August 3, 2012 3:45:59 PM UTC+5:30, salil...@gmail.com wrote: > On Wednesday, August 1, 2012 3:33:20 PM UTC+5:30, Neil wrote: > > sali...@gmail.com wrote: >My use case is, I have RPC listener in addon, which > is called from some other application. On receiving of RPC event, I need to

Re: GECKO 14: How to get thread safe object of nsIWebProgress

2012-08-03 Thread salilakumar
On Wednesday, August 1, 2012 3:33:20 PM UTC+5:30, Neil wrote: > sali...@gmail.com wrote: >My use case is, I have RPC listener in addon, which > is called from some other application. On receiving of RPC event, I need to > load a specific URL to the browser. For this I need nsIWebNavigation object

Re: GECKO 14: How to get thread safe object of nsIWebProgress

2012-08-01 Thread Neil
sali...@gmail.com wrote: My use case is, I have RPC listener in addon, which is called from some other application. On receiving of RPC event, I need to load a specific URL to the browser. For this I need nsIWebNavigation object in RPC handler. If there is a way to load the URL to the browser

Re: GECKO 14: How to get thread safe object of nsIWebProgress

2012-07-31 Thread salilak
Thanks for the reply Neil. My use case is, I have RPC listener in addon, which is called from some other application. On receiving of RPC event, I need to load a specific URL to the browser. For this I need nsIWebNavigation object in RPC handler. If there is a way to load the URL to the browser

Re: GECKO 14: How to get thread safe object of nsIWebProgress

2012-07-31 Thread Neil
sali...@gmail.com wrote: I have gone through the document "https://developer.mozilla.org/en/XPCOM/Making_cross-thread_calls_using_runnables";, which tells about how to run a method asynchronously. I hove no issue in calling the a method asynchronously. I have problem in sharing the object bet

GECKO 14: How to get thread safe object of nsIWebProgress

2012-07-30 Thread salilak
Hi dev environment: Windows and VS, win32[c++] Background: I have a callback function which loads the url using nsIWebNavigation object. This call back function is called through some RPC. Current process of getting nsIWebNavigation object: 1. In method "OnStateChange", created nsIProxyObjectMan