Re: Add-ons Firefox 24 crash due to recent change in JSAPI

2013-10-04 Thread vasuyadavkrishn
On Thursday, October 3, 2013 6:51:10 PM UTC+5:30, Bobby Holley wrote: > You should call Javascript functions from JS. If your app is mostly C++, > > then you can use a JS-implemented XPCOM component to do the JS work. If > > your core logic is easily convertible to JS, then you should do that, an

Re: Add-ons Firefox 24 crash due to recent change in JSAPI

2013-10-04 Thread vasuyadavkrishn
On Thursday, September 19, 2013 10:06:30 AM UTC+5:30, vasuyad...@gmail.com wrote: > Hi > > > > We are facing problem with our Add-ons support for FireFox 24.Firefox is > crashing. In earlier approach we was using 'JS_GetGlobalObject' to get global > object from docShell. > https://developer

Re: Add-ons Firefox 24 crash due to recent change in JSAPI

2013-10-03 Thread vasuyadavkrishn
On Monday, September 23, 2013 9:33:59 PM UTC+5:30, Bobby Holley wrote: > On Mon, Sep 23, 2013 at 5:12 AM, wrote: > > > > > Thanks a lot Bobby. > > > My issue is solved after use of nsCxPusher for JSContext. > > > Could you suggest me some alternative approach to do the same? > > > > > > >

Re: Add-ons Firefox 24 crash due to recent change in JSAPI

2013-09-23 Thread vasuyadavkrishn
On Thursday, September 19, 2013 10:06:30 AM UTC+5:30, vasuyad...@gmail.com wrote: > Hi > > > > We are facing problem with our Add-ons support for FireFox 24.Firefox is > crashing. In earlier approach we was using 'JS_GetGlobalObject' to get global > object from docShell. > https://developer

Add-ons Firefox 24 crash due to recent change in JSAPI

2013-09-18 Thread vasuyadavkrishn
Hi We are facing problem with our Add-ons support for FireFox 24.Firefox is crashing. In earlier approach we was using 'JS_GetGlobalObject' to get global object from docShell. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_GetGlobalObject?redirectloca