Add-ons Firefox 24 crash due to recent change in JSAPI
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?redirectlocale=en-US&redirectslug=SpiderMonkey%2FJSAPI_Reference%2FJS_GetGlobalObject
As per given above link- I should use use JS_GetGlobalForObject or JS_GetGlobalForScopeChain instead of JS_GetGlobalObject. I tried both of them and additionally I tried GetNativeGlobal(), GetGlobalJSObject() . but none of them work out. Firefox is crashing in all the cases .
Could anybody help me for this issue? what are required changes need to fix this problem. I have paste code for yours reference.
פתרון נבחר
anderert,
Yes the upgrade may be reversed although it is strongly recommended that you do not do that
May I suggest you start a new thread of your own. If you explain the problems you are having maybe we have a workaround or a solution.
- Please use /questions/new
- follow the prompts to include troubleshooting information.
- You may like to post back here to confirm you have started a new thread.
כל התגובות (4)
Sorry, but this forum is for Firefox end user support, no for development support.
See if anything here helps you - https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/24
Also, see this - http://www.mozilla.org/about/forums/#general-development - a listing of the various Mozilla development Mailing Lists, Newsgroups, and Google Groups that Mozilla sponsors.
Can upgrade to Firefox 24.0 be reversed??
פתרון נבחר
anderert,
Yes the upgrade may be reversed although it is strongly recommended that you do not do that
May I suggest you start a new thread of your own. If you explain the problems you are having maybe we have a workaround or a solution.
- Please use /questions/new
- follow the prompts to include troubleshooting information.
- You may like to post back here to confirm you have started a new thread.
Thanks a lot for all yours reply .. my problem is solved now. I got reply from dev support portel.