I am facing difficulties to make our meteor app works with firefox (windows).
We have the error : Exception in callback of async function: InternalError: “too much recursion”
The app is working well with chrome.
This sounds like a reactive calculation that is running into an infinite loop. Are you using Blaze? Here it is pretty easy to setup reactive calculations wrong. I would check all subscriptions and other reactive calculations. You can also use the browser profiler to check in which parts of the code the time is spent.
Many (nested) templates, some of which you have little or no control over (e.g. external packages). Pay extra attention where nested templates may take inputs from the same helper in the parent.
Your own templates, where you might try to set a reactive variable in a parent template, which in turn re-triggers the computation in the child template. In this case have a look at potentially too liberal usage of Template.currentData(). Or simply do not attempt to change the parent.
A good generic troubleshooting approach would be to eliminate all templates on the affected page, then re-add them gradually until you see the condition kicking in. There’s your culprit.