Remove uses of EARLY_BETA_OR_EARLIER.
This commit is contained in:
parent
1b648eee31
commit
233c36ab6f
|
@ -1314,10 +1314,6 @@ pref("signon.schemeUpgrades", true);
|
|||
#if defined(NIGHTLY_BUILD)
|
||||
pref("print.use_simplify_page", true);
|
||||
#endif
|
||||
#else
|
||||
#if defined(EARLY_BETA_OR_EARLIER)
|
||||
pref("print.use_simplify_page", true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Space separated list of URLS that are allowed to send objects (instead of
|
||||
|
@ -1327,11 +1323,7 @@ pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https:
|
|||
// Whether or not the browser should scan for unsubmitted
|
||||
// crash reports, and then show a notification for submitting
|
||||
// those reports.
|
||||
#ifdef EARLY_BETA_OR_EARLIER
|
||||
pref("browser.crashReports.unsubmittedCheck.enabled", true);
|
||||
#else
|
||||
pref("browser.crashReports.unsubmittedCheck.enabled", false);
|
||||
#endif
|
||||
|
||||
// chancesUntilSuppress is how many times we'll show the unsubmitted
|
||||
// crash report notification across different days and shutdown
|
||||
|
|
|
@ -1305,10 +1305,6 @@ pref("signon.schemeUpgrades", true);
|
|||
#if defined(NIGHTLY_BUILD)
|
||||
pref("print.use_simplify_page", true);
|
||||
#endif
|
||||
#else
|
||||
#if defined(EARLY_BETA_OR_EARLIER)
|
||||
pref("print.use_simplify_page", true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Space separated list of URLS that are allowed to send objects (instead of
|
||||
|
@ -1318,11 +1314,7 @@ pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https:
|
|||
// Whether or not the browser should scan for unsubmitted
|
||||
// crash reports, and then show a notification for submitting
|
||||
// those reports.
|
||||
#ifdef EARLY_BETA_OR_EARLIER
|
||||
pref("browser.crashReports.unsubmittedCheck.enabled", true);
|
||||
#else
|
||||
pref("browser.crashReports.unsubmittedCheck.enabled", false);
|
||||
#endif
|
||||
|
||||
// chancesUntilSuppress is how many times we'll show the unsubmitted
|
||||
// crash report notification across different days and shutdown
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Define indicating that this build is prior to one of the early betas. To be
|
||||
# unset mid-way through the beta cycle.
|
||||
EARLY_BETA_OR_EARLIER=
|
|
@ -760,15 +760,7 @@ static int ShouldDrop(size_t len) {
|
|||
nr_socket_short_term_violation_time = TimeStamp::Now();
|
||||
#endif
|
||||
|
||||
// Bug 1013007
|
||||
#if !EARLY_BETA_OR_EARLIER
|
||||
return R_WOULDBLOCK;
|
||||
#else
|
||||
MOZ_ASSERT(false,
|
||||
"Short term global rate limit for STUN requests exceeded. Go "
|
||||
"bug bcampen@mozilla.com if you weren't intentionally "
|
||||
"spamming ICE candidates, or don't know what that means.");
|
||||
#endif
|
||||
}
|
||||
|
||||
if (sustained.getTokens(UINT32_MAX) < len) {
|
||||
|
@ -777,15 +769,8 @@ static int ShouldDrop(size_t len) {
|
|||
#ifdef MOZILLA_INTERNAL_API
|
||||
nr_socket_long_term_violation_time = TimeStamp::Now();
|
||||
#endif
|
||||
// Bug 1013007
|
||||
#if !EARLY_BETA_OR_EARLIER
|
||||
|
||||
return R_WOULDBLOCK;
|
||||
#else
|
||||
MOZ_ASSERT(false,
|
||||
"Long term global rate limit for STUN requests exceeded. Go "
|
||||
"bug bcampen@mozilla.com if you weren't intentionally "
|
||||
"spamming ICE candidates, or don't know what that means.");
|
||||
#endif
|
||||
}
|
||||
|
||||
// Take len tokens from both buckets.
|
||||
|
|
|
@ -215,15 +215,13 @@ pref("dom.requestIdleCallback.enabled", true);
|
|||
// See WD https://www.w3.org/TR/intersection-observer/
|
||||
pref("dom.intersectionObserver.enabled", true);
|
||||
|
||||
#ifdef MOZ_GAMEPAD
|
||||
// Whether the Gamepad API is enabled
|
||||
pref("dom.gamepad.enabled", true);
|
||||
pref("dom.gamepad.test.enabled", false);
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("dom.gamepad.non_standard_events.enabled", false);
|
||||
#else
|
||||
pref("dom.gamepad.non_standard_events.enabled", true);
|
||||
#endif
|
||||
pref("dom.gamepad.extensions.enabled", false);
|
||||
#endif
|
||||
|
||||
// Whether the KeyboardEvent.code is enabled
|
||||
pref("dom.keyboardevent.code.enabled", true);
|
||||
|
@ -557,12 +555,7 @@ pref("dom.webaudio.enabled", true);
|
|||
pref("media.getusermedia.screensharing.enabled", true);
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("media.getusermedia.screensharing.allowed_domains", "webex.com,*.webex.com,ciscospark.com,*.ciscospark.com,projectsquared.com,*.projectsquared.com,*.room.co,room.co,beta.talky.io,talky.io,*.clearslide.com,appear.in,*.appear.in,tokbox.com,*.tokbox.com,*.sso.francetelecom.fr,*.si.francetelecom.fr,*.sso.infra.ftgroup,*.multimedia-conference.orange-business.com,*.espacecollaboration.orange-business.com,free.gotomeeting.com,g2m.me,*.g2m.me,*.mypurecloud.com,*.mypurecloud.com.au,spreed.me,*.spreed.me,*.spreed.com,air.mozilla.org,*.circuit.com,*.yourcircuit.com,circuit.siemens.com,yourcircuit.siemens.com,circuitsandbox.net,*.unify.com,tandi.circuitsandbox.net,*.ericsson.net,*.cct.ericsson.net,*.opentok.com,*.conf.meetecho.com,meet.jit.si,*.meet.jit.si,web.stage.speakeasyapp.net,web.speakeasyapp.net,*.hipchat.me,*.beta-wspbx.com,*.wspbx.com,*.unifiedcloudit.com,*.smartboxuc.com,*.smartbox-uc.com,*.panterranetworks.com,pexipdemo.com,*.pexipdemo.com,pex.me,*.pex.me,*.rd.pexip.com,1click.io,*.1click.io,*.fuze.com,*.fuzemeeting.com,*.thinkingphones.com,gotomeeting.com,*.gotomeeting.com,gotowebinar.com,*.gotowebinar.com,gototraining.com,*.gototraining.com,citrix.com,*.citrix.com,expertcity.com,*.expertcity.com,citrixonline.com,*.citrixonline.com,g2m.me,*.g2m.me,gotomeet.me,*.gotomeet.me,gotomeet.at,*.gotomeet.at,miriadaxdes.miriadax.net,certificacion.miriadax.net,miriadax.net,*.wire.com,sylaps.com,*.sylaps.com,bluejeans.com,*.bluejeans.com,*.a.bluejeans.com,*.bbcollab.com");
|
||||
#else
|
||||
// includes Mozilla's test domain: mozilla.github.io (not intended for release)
|
||||
pref("media.getusermedia.screensharing.allowed_domains", "mozilla.github.io,webex.com,*.webex.com,ciscospark.com,*.ciscospark.com,projectsquared.com,*.projectsquared.com,*.room.co,room.co,beta.talky.io,talky.io,*.clearslide.com,appear.in,*.appear.in,tokbox.com,*.tokbox.com,*.sso.francetelecom.fr,*.si.francetelecom.fr,*.sso.infra.ftgroup,*.multimedia-conference.orange-business.com,*.espacecollaboration.orange-business.com,free.gotomeeting.com,g2m.me,*.g2m.me,*.mypurecloud.com,*.mypurecloud.com.au,spreed.me,*.spreed.me,*.spreed.com,air.mozilla.org,*.circuit.com,*.yourcircuit.com,circuit.siemens.com,yourcircuit.siemens.com,circuitsandbox.net,*.unify.com,tandi.circuitsandbox.net,*.ericsson.net,*.cct.ericsson.net,*.opentok.com,*.conf.meetecho.com,meet.jit.si,*.meet.jit.si,web.stage.speakeasyapp.net,web.speakeasyapp.net,*.hipchat.me,*.beta-wspbx.com,*.wspbx.com,*.unifiedcloudit.com,*.smartboxuc.com,*.smartbox-uc.com,*.panterranetworks.com,pexipdemo.com,*.pexipdemo.com,pex.me,*.pex.me,*.rd.pexip.com,1click.io,*.1click.io,*.fuze.com,*.fuzemeeting.com,*.thinkingphones.com,gotomeeting.com,*.gotomeeting.com,gotowebinar.com,*.gotowebinar.com,gototraining.com,*.gototraining.com,citrix.com,*.citrix.com,expertcity.com,*.expertcity.com,citrixonline.com,*.citrixonline.com,g2m.me,*.g2m.me,gotomeet.me,*.gotomeet.me,gotomeet.at,*.gotomeet.at,miriadaxdes.miriadax.net,certificacion.miriadax.net,miriadax.net,*.wire.com,sylaps.com,*.sylaps.com,bluejeans.com,*.bluejeans.com,*.a.bluejeans.com,*.bbcollab.com");
|
||||
#endif
|
||||
// OS/X 10.6 has screen/window sharing off by default due to various issues - Caveat emptor
|
||||
pref("media.getusermedia.screensharing.allow_on_old_platforms", false);
|
||||
|
||||
|
@ -1259,11 +1252,8 @@ pref("privacy.trackingprotection.pbmode.enabled", false);
|
|||
|
||||
pref("dom.event.contextmenu.enabled", true);
|
||||
pref("dom.event.clipboardevents.enabled", true);
|
||||
#if defined(XP_WIN) && !defined(RELEASE_OR_BETA) || defined(MOZ_WIDGET_GTK) && !defined(RELEASE_OR_BETA)
|
||||
pref("dom.event.highrestimestamp.enabled", true);
|
||||
#else
|
||||
// Potentially risky option due to side channel attack surface using high res timers.
|
||||
pref("dom.event.highrestimestamp.enabled", false);
|
||||
#endif
|
||||
|
||||
pref("dom.webcomponents.enabled", false);
|
||||
pref("dom.webcomponents.customelements.enabled", false);
|
||||
|
@ -1282,11 +1272,8 @@ pref("javascript.options.wasm", false);
|
|||
pref("javascript.options.wasm_baselinejit", false);
|
||||
pref("javascript.options.native_regexp", true);
|
||||
pref("javascript.options.parallel_parsing", true);
|
||||
#if !defined(RELEASE_OR_BETA) && !defined(ANDROID) && !defined(XP_IOS)
|
||||
pref("javascript.options.asyncstack", true);
|
||||
#else
|
||||
// ayncstack is used for debugging promises in devtools.
|
||||
pref("javascript.options.asyncstack", false);
|
||||
#endif
|
||||
pref("javascript.options.throw_on_asmjs_validation_failure", false);
|
||||
pref("javascript.options.ion.offthread_compilation", true);
|
||||
// This preference instructs the JS engine to discard the
|
||||
|
@ -2676,11 +2663,7 @@ pref("layout.css.shape-outside.enabled", false);
|
|||
pref("layout.css.font-loading-api.enabled", true);
|
||||
|
||||
// Should stray control characters be rendered visibly?
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("layout.css.control-characters.visible", false);
|
||||
#else
|
||||
pref("layout.css.control-characters.visible", true);
|
||||
#endif
|
||||
|
||||
// pref for which side vertical scrollbars should be on
|
||||
// 0 = end-side in UI direction
|
||||
|
@ -4492,12 +4475,8 @@ pref("webgl.webgl2-compat-mode", false);
|
|||
|
||||
pref("webgl.enable-webgl2", true);
|
||||
|
||||
#ifdef RELEASE_OR_BETA
|
||||
// Keep this disabled on Release and Beta for now. (see bug 1171228)
|
||||
// Keep this disabled unless debugging GPU compatibility with websites
|
||||
pref("webgl.enable-debug-renderer-info", false);
|
||||
#else
|
||||
pref("webgl.enable-debug-renderer-info", true);
|
||||
#endif
|
||||
|
||||
pref("webgl.renderer-string-override", "");
|
||||
pref("webgl.vendor-string-override", "");
|
||||
|
|
|
@ -2329,19 +2329,6 @@ else
|
|||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
# Allow influencing configure with a defines.sh script.
|
||||
. "${srcdir}/build/defines.sh"
|
||||
|
||||
# If we're not building a release build, define EARLY_BETA_OR_EARLIER if it is
|
||||
# set in defines.sh
|
||||
if test "$BUILDING_RELEASE"; then
|
||||
# Override value in defines.sh, if any
|
||||
EARLY_BETA_OR_EARLIER=
|
||||
elif test "$EARLY_BETA_OR_EARLIER"; then
|
||||
AC_DEFINE(EARLY_BETA_OR_EARLIER)
|
||||
fi
|
||||
AC_SUBST(EARLY_BETA_OR_EARLIER)
|
||||
|
||||
# Allow someone to change MOZ_APP_NAME and MOZ_APP_BASENAME in mozconfig
|
||||
MOZ_ARG_WITH_STRING(app-name,
|
||||
[--with-app-name=APPNAME sets MOZ_APP_NAME to APPNAME],
|
||||
|
|
|
@ -22,16 +22,7 @@
|
|||
// work progresses more functionality will be swapped out in favor of
|
||||
// mozilla logging implementations.
|
||||
|
||||
// We normally have logging enabled everywhere, but measurements showed that
|
||||
// having logging enabled on Android is quite expensive (hundreds of kilobytes
|
||||
// for both the format strings for logging and the code to perform all the
|
||||
// logging calls). Because retrieving logs from a mobile device is
|
||||
// comparatively more difficult for Android than it is for desktop and because
|
||||
// desktop machines tend to be less space/bandwidth-constrained than Android
|
||||
// devices, we've chosen to leave logging enabled on desktop, but disabled on
|
||||
// Android. Given that logging can still be useful for development purposes,
|
||||
// however, we leave logging enabled on Android developer builds.
|
||||
#if !defined(ANDROID) || !defined(RELEASE_OR_BETA)
|
||||
#ifdef DEBUG
|
||||
#define MOZ_LOGGING_ENABLED 1
|
||||
#else
|
||||
#define MOZ_LOGGING_ENABLED 0
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "nsTArray.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#if defined(DEBUG) || !defined(RELEASE_OR_BETA)
|
||||
#if defined(DEBUG)
|
||||
#define PROMISE_DEBUG
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue