搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

more options

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.

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.

  1. Please use /questions/new
  2. follow the prompts to include troubleshooting information.
  3. You may like to post back here to confirm you have started a new thread.
定位到答案原位置 👍 0

所有回复 (4)

more options

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.

more options

Can upgrade to Firefox 24.0 be reversed??

more options

选择的解决方案

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.

  1. Please use /questions/new
  2. follow the prompts to include troubleshooting information.
  3. You may like to post back here to confirm you have started a new thread.
more options

Thanks a lot for all yours reply .. my problem is solved now. I got reply from dev support portel.