Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

Chosen solution

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.
Read this answer in context 👍 0

All Replies (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

Chosen Solution

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.