Reputation: 626
I realized that the firefox browser gives warning when we make a ajax call which takes more time to respond/the function in javascript takes more time to complete its execution.
I read in an article it is due to the properties in firefox. Something like it should wait only these many seconds for an javascript to complete its execution.
Can anyone clearly explain me about that? How can we solve this via program?
Upvotes: 4
Views: 239
Reputation: 8871
You can modify the length of time Firefox waits for script execution by:
However, I'd strongly suggest you look at the script you're executing for further problems first. Note that 10 seconds is not how long it takes for the script to run, but rather how long the script has been unresponsive for - much worse.
More information on how the dom.max_script_run_time parameter works can be found here: http://kb.mozillazine.org/Dom.max_script_run_time
Upvotes: 1