Bug 420955: make Error Console show chrome errors by default in testing profile, r=sayrer. Also port change from bug 420630 to runtests.pl.in
authorgavin@gavinsharp.com
Tue, 04 Mar 2008 14:12:06 -0800
changeset 12572 6dcd7b9f65ae935c6f0f37dbd66b473852fc768a
parent 12571 94274772805743209595cf785112d74e1e780eab
child 12573 6384d81b9ca06a1d7d0a4d5a106d5d1e693c6e63
push idunknown
push userunknown
push dateunknown
reviewerssayrer
bugs420955, 420630
milestone1.9b5pre
Bug 420955: make Error Console show chrome errors by default in testing profile, r=sayrer. Also port change from bug 420630 to runtests.pl.in
build/pgo/automation.py.in
testing/mochitest/runtests.pl.in
--- a/build/pgo/automation.py.in
+++ b/build/pgo/automation.py.in
@@ -184,16 +184,17 @@ def initializeProfile(profileDir):
 user_pref("browser.dom.window.dump.enabled", true);
 user_pref("dom.disable_open_during_load", false);
 user_pref("dom.max_script_run_time", 0); // no slow script dialogs
 user_pref("signed.applets.codebase_principal_support", true);
 user_pref("security.warn_submit_insecure", false);
 user_pref("browser.shell.checkDefaultBrowser", false);
 user_pref("browser.warnOnQuit", false);
 user_pref("accessibility.typeaheadfind.autostart", false);
+user_pref("javascript.options.showInConsole", true);
 """
   prefs.append(part)
 
   # Grant God-power to all the servers on which tests can run.
   for (i, server) in itertools.izip(itertools.count(1), servers):
     part = """
 user_pref("capability.principal.codebase.p%(i)d.granted",
           "UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite \
--- a/testing/mochitest/runtests.pl.in
+++ b/testing/mochitest/runtests.pl.in
@@ -431,16 +431,18 @@ sub initializeProfile {
   my $pref_content = <<PREFEND;
 user_pref("browser.dom.window.dump.enabled", true);
 user_pref("dom.disable_open_during_load", false);
 user_pref("dom.max_script_run_time", 0); // no slow script dialogs
 user_pref("signed.applets.codebase_principal_support", true);
 user_pref("security.warn_submit_insecure", false);
 user_pref("browser.shell.checkDefaultBrowser", false);
 user_pref("browser.warnOnQuit", false);
+user_pref("accessibility.typeaheadfind.autostart", false);
+user_pref("javascript.options.showInConsole", true);
 PREFEND
 
   # Grant God-power to all the servers on which tests can run.
   my $i = 1;
   my $server;
   foreach $server (@servers) {
     $pref_content .= <<SERVERPREFEND;
 user_pref("capability.principal.codebase.p$i.granted", "UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite UniversalPreferencesRead UniversalPreferencesWrite UniversalFileRead");