Unresponsive Script Warning: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Unresponsive Script Error moved to Unresponsive Script Warning: The dialog box says ''Warning: Unresponsive Scrip'', so ''warning'' is a better term to use than ''error'')
(give title of dialog)
Line 1: Line 1:
When JavaScript code runs for longer than a predefined amount of time, Firefox will display an Unresponsive Script error. This time is given by the settings [[dom.max_script_run_time]] and [[dom.max_chrome_script_run_time]].
When JavaScript code runs for longer than a predefined amount of time, Firefox will display a dialog that says ''Warning: Unresponsive Script''. This time is given by the settings [[dom.max_script_run_time]] and [[dom.max_chrome_script_run_time]].


==Finding the source of the problem==
==Finding the source of the problem==
Line 5: Line 5:


==Extensions==
==Extensions==
If you get the Unresponsive Script Error on many different web pages, the problem is most likely a recently installed [[problematic extensions|extension]].[http://help.yahoo.com/help/uk/toolbar/toolbar-54.html] You can try uninstalling extensions to fix the problem, or try [[Profile_Manager#Creating_a_new_profile|creating a new profile]].
If you get the Unresponsive Script Warning on many different web pages, the problem is most likely a recently installed [[problematic extensions|extension]].[http://help.yahoo.com/help/uk/toolbar/toolbar-54.html] You can try uninstalling extensions to fix the problem, or try [[Profile_Manager#Creating_a_new_profile|creating a new profile]].


==Websites==
==Websites==
If you get the Unresponsive Script Error on a specific web page, it could be a problem with the JavaScript on the web page. You may want to contact the webmaster of the site to inform them of the problem, or you may wish to file a Tech Evangelism bug report.
If you get the Unresponsive Script Warning on a specific web page, it could be a problem with the JavaScript on the web page. You may want to contact the webmaster of the site to inform them of the problem, or you may wish to file a Tech Evangelism bug report.


==References==
==References==

Revision as of 14:31, 25 July 2007

When JavaScript code runs for longer than a predefined amount of time, Firefox will display a dialog that says Warning: Unresponsive Script. This time is given by the settings dom.max_script_run_time and dom.max_chrome_script_run_time.

Finding the source of the problem

To determine what script is running too long, open the Error Console (JavaScript Console prior to Firefox 2) and tell it to stop the script. The Error Console should identify the script causing the problem.

Extensions

If you get the Unresponsive Script Warning on many different web pages, the problem is most likely a recently installed extension.[1] You can try uninstalling extensions to fix the problem, or try creating a new profile.

Websites

If you get the Unresponsive Script Warning on a specific web page, it could be a problem with the JavaScript on the web page. You may want to contact the webmaster of the site to inform them of the problem, or you may wish to file a Tech Evangelism bug report.

References