搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.