Loading build/moz.configure/init.configure +10 −0 Original line number Diff line number Diff line Loading @@ -1197,6 +1197,16 @@ set_define("MOZ_UPDATE_CHANNEL", update_channel) add_old_configure_assignment("MOZ_UPDATE_CHANNEL", update_channel) # Add a TOR_BROWSER_NIGHTLY_BUILD flag to use when MOZ_UPDATE_CHANNEL cannot be # used. For example, for the C++ preprocessor. See tor-browser#41340 @depends("--enable-update-channel") def tor_browser_nightly_build(channel): if channel and channel[0] in ["default", "nightly"]: return True set_define("TOR_BROWSER_NIGHTLY_BUILD", tor_browser_nightly_build) option( env="MOZBUILD_STATE_PATH", nargs=1, Loading intl/l10n/Localization.h +3 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ namespace intl { return true; } #if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION) || defined(DEBUG) // See tor-browser#41285 #if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION) || defined(DEBUG) || \ defined(TOR_BROWSER_NIGHTLY_BUILD) dom::Document* doc = nullptr; if (aGlobal) { nsPIDOMWindowInner* innerWindow = aGlobal->AsInnerWindow(); Loading modules/libpref/init/all.js +1 −1 Original line number Diff line number Diff line Loading @@ -4049,7 +4049,7 @@ pref("devtools.policy.disabled", false); // Enable deprecation warnings. pref("devtools.errorconsole.deprecation_warnings", true); #ifdef NIGHTLY_BUILD #if defined(NIGHTLY_BUILD) || defined(TOR_BROWSER_NIGHTLY_BUILD) // Don't show the Browser Toolbox prompt on local builds / nightly. pref("devtools.debugger.prompt-connection", false, sticky); #else Loading Loading
build/moz.configure/init.configure +10 −0 Original line number Diff line number Diff line Loading @@ -1197,6 +1197,16 @@ set_define("MOZ_UPDATE_CHANNEL", update_channel) add_old_configure_assignment("MOZ_UPDATE_CHANNEL", update_channel) # Add a TOR_BROWSER_NIGHTLY_BUILD flag to use when MOZ_UPDATE_CHANNEL cannot be # used. For example, for the C++ preprocessor. See tor-browser#41340 @depends("--enable-update-channel") def tor_browser_nightly_build(channel): if channel and channel[0] in ["default", "nightly"]: return True set_define("TOR_BROWSER_NIGHTLY_BUILD", tor_browser_nightly_build) option( env="MOZBUILD_STATE_PATH", nargs=1, Loading
intl/l10n/Localization.h +3 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ namespace intl { return true; } #if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION) || defined(DEBUG) // See tor-browser#41285 #if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION) || defined(DEBUG) || \ defined(TOR_BROWSER_NIGHTLY_BUILD) dom::Document* doc = nullptr; if (aGlobal) { nsPIDOMWindowInner* innerWindow = aGlobal->AsInnerWindow(); Loading
modules/libpref/init/all.js +1 −1 Original line number Diff line number Diff line Loading @@ -4049,7 +4049,7 @@ pref("devtools.policy.disabled", false); // Enable deprecation warnings. pref("devtools.errorconsole.deprecation_warnings", true); #ifdef NIGHTLY_BUILD #if defined(NIGHTLY_BUILD) || defined(TOR_BROWSER_NIGHTLY_BUILD) // Don't show the Browser Toolbox prompt on local builds / nightly. pref("devtools.debugger.prompt-connection", false, sticky); #else Loading