bug 422296: fix stupid typo in automation.py.in. r=duh
authorBen Hearsum <bhearsum@mozilla.com>
Wed, 14 May 2008 09:27:47 -0400
changeset 15122 a6b0f5b2fb7dec3ab56aeb68702ab0631e5a6fd8
parent 15121 22910de574673c051335ba0ff9dfcbd4fa714ef0
child 15123 111c20038fa667049218d2dbc0023f54a07098b4
push idunknown
push userunknown
push dateunknown
reviewersduh
bugs422296
milestone1.9.1a1pre
bug 422296: fix stupid typo in automation.py.in. r=duh
build/pgo/automation.py.in
--- a/build/pgo/automation.py.in
+++ b/build/pgo/automation.py.in
@@ -228,17 +228,17 @@ def initializeProfile(profileDir):
   # Start with a clean slate.
   shutil.rmtree(profileDir, True)
   os.mkdir(profileDir)
 
   prefs = []
 
   part = """\
 user_pref("browser.dom.window.dump.enabled", true);
-user_pref("dom.allow_script_to_close_windows", true);
+user_pref("dom.allow_scripts_to_close_windows", 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);