- Type in about:config in the address bar and press Enter. This gives you the master list of all settings you can manually adjust in Firefox.
- After confirming that you'd be careful with the settings, search for this setting string: dom.max_script_run_time. This controls when the browser will complain and give you a chance to terminate the script (in number of seconds). Change the value to a bigger number - default is 10 and I use 20.
I do this for all Firefox profiles I use often with the Developer Console. Chrome seems to be more forgiving/patient with the script compared to Firefox, so there is no error message - you just have to wait until the screen is unfrozen.
UPDATE: I'm happy to report that this trick seems to be no longer necessary with Summer '14. The test class list in the console seems to be much more speedy and non-blocking to start - kudos to the developers!
UPDATE: I'm happy to report that this trick seems to be no longer necessary with Summer '14. The test class list in the console seems to be much more speedy and non-blocking to start - kudos to the developers!
No comments:
Post a Comment