Firefox javascript becomes an irresponsible warning

I realized that the Firefox browser warns when we make an ajax call that takes longer to answer / the javascript function takes longer to complete its execution.

I read in the article that this is due to properties in firefox. Something like this should only wait for these many seconds for javascript to complete execution.

Can someone explain to me about this? How can we solve this problem through the program?

+4
source share
1 answer

You can change the time that Firefox waits for the script to execute:

  • Entering about: config in the address bar
  • dom.max_script_run_time.
  • dom.max_script_run_time , . ( 10 , , Firefox 30.0).

script, . , 10 - , script, , script - .

, dom.max_script_run_time, : http://kb.mozillazine.org/Dom.max_script_run_time

+1

Source: https://habr.com/ru/post/1525155/


All Articles