Skip to content
Snippets Groups Projects
Commit 2a16440d authored by Ben Hearsum's avatar Ben Hearsum
Browse files

bug 422296: need debug+leak testing builds for mozilla central - trivial...

bug 422296: need debug+leak testing builds for mozilla central - trivial follow-up for build/Makefile.in. r=tmielczarek, patch=me
parent 7854c2e2
No related branches found
No related tags found
No related merge requests found
......@@ -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\" \
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment