From 2a16440dadefbeb58721d2ef74d1c7ee325f78ff Mon Sep 17 00:00:00 2001 From: Ben Hearsum <bhearsum@mozilla.com> Date: Wed, 14 May 2008 08:22:25 -0400 Subject: [PATCH] bug 422296: need debug+leak testing builds for mozilla central - trivial follow-up for build/Makefile.in. r=tmielczarek, patch=me --- build/Makefile.in | 21 +++++++++++++++++++++ build/pgo/automation.py.in | 1 + 2 files changed, 22 insertions(+) diff --git a/build/Makefile.in b/build/Makefile.in index 608257d256b9b..f6b017ba79de7 100644 --- a/build/Makefile.in +++ b/build/Makefile.in @@ -58,6 +58,27 @@ DIRS += pgo include $(topsrcdir)/config/rules.mk + +ifeq ($(USE_SHORT_LIBNAME), 1) +PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX) +else +PROGRAM = $(MOZ_APP_NAME)-bin$(BIN_SUFFIX) +endif + +ifeq ($(MOZ_BUILD_APP),camino) +browser_path = \"$(DIST)/Camino.app/Contents/MacOS/Camino\" +else +ifeq ($(OS_ARCH),Darwin) +ifdef MOZ_DEBUG +browser_path = \"$(DIST)/$(MOZ_APP_DISPLAYNAME)Debug.app/Contents/MacOS/$(PROGRAM)\" +else +browser_path = \"$(DIST)/$(MOZ_APP_DISPLAYNAME).app/Contents/MacOS/$(PROGRAM)\" +endif +else +browser_path = \"$(DIST)/bin/$(PROGRAM)\" +endif +endif + AUTOMATION_PPARGS = \ -DBROWSER_PATH=$(browser_path) \ -DXPC_BIN_PATH=\"$(DIST)/bin\" \ diff --git a/build/pgo/automation.py.in b/build/pgo/automation.py.in index bc2e12184a521..ce1e4afc6c06b 100644 --- a/build/pgo/automation.py.in +++ b/build/pgo/automation.py.in @@ -233,6 +233,7 @@ def initializeProfile(profileDir): part = """\ user_pref("browser.dom.window.dump.enabled", true); +user_pref("dom._allow_script_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); -- GitLab