diff options
-rw-r--r-- | components/formautofill/formautofill.manifest | 3 | ||||
-rw-r--r-- | components/global/content/aboutSupport.js | 18 | ||||
-rw-r--r-- | devtools/client/preferences/devtools.js | 12 | ||||
-rw-r--r-- | dom/base/Navigator.cpp | 11 | ||||
-rw-r--r-- | dom/base/Navigator.h | 2 | ||||
-rw-r--r-- | dom/quota/ActorsParent.cpp | 39 | ||||
-rw-r--r-- | dom/webidl/Navigator.webidl | 7 | ||||
-rw-r--r-- | js/src/builtin/TestingFunctions.cpp | 41 | ||||
-rw-r--r-- | js/src/js-config.mozbuild | 8 | ||||
-rw-r--r-- | js/src/jsutil.h | 4 | ||||
-rw-r--r-- | js/src/vm/Debugger.cpp | 10 | ||||
-rw-r--r-- | js/src/vm/Debugger.h | 4 | ||||
-rw-r--r-- | js/src/vm/UnboxedObject.cpp | 10 | ||||
-rw-r--r-- | js/src/wasm/AsmJS.cpp | 5 | ||||
-rw-r--r-- | layout/style/nsCSSParser.cpp | 7 | ||||
-rw-r--r-- | system/framework/WeakPtr.h | 2 | ||||
-rw-r--r-- | system/goanna.js | 55 | ||||
-rw-r--r-- | system/graphics/src/DriverCrashGuard.cpp | 8 | ||||
-rw-r--r-- | system/graphics/thebes/gfxEnv.h | 1 | ||||
-rw-r--r-- | system/packager/base.mk | 4 | ||||
-rw-r--r-- | xpcom/glue/nsDebug.h | 2 | ||||
-rw-r--r-- | xpcom/glue/nsISupportsImpl.h | 4 |
22 files changed, 31 insertions, 226 deletions
diff --git a/components/formautofill/formautofill.manifest b/components/formautofill/formautofill.manifest index 880972edc..8d5144a03 100644 --- a/components/formautofill/formautofill.manifest +++ b/components/formautofill/formautofill.manifest @@ -2,6 +2,3 @@ component {ed9c2c3c-3f86-4ae5-8e31-10f71b0f19e6} FormAutofillContentService.js contract @mozilla.org/formautofill/content-service;1 {ed9c2c3c-3f86-4ae5-8e31-10f71b0f19e6} component {51c95b3d-7431-467b-8d50-383f158ce9e5} FormAutofillStartup.js contract @mozilla.org/formautofill/startup;1 {51c95b3d-7431-467b-8d50-383f158ce9e5} -#ifdef NIGHTLY_BUILD -category profile-after-change FormAutofillStartup @mozilla.org/formautofill/startup;1 -#endif diff --git a/components/global/content/aboutSupport.js b/components/global/content/aboutSupport.js index 86f1fa35b..f921c1372 100644 --- a/components/global/content/aboutSupport.js +++ b/components/global/content/aboutSupport.js @@ -196,24 +196,6 @@ var snapshotFormatters = { delete data.info; } -#ifdef NIGHTLY_BUILD - let windowUtils = window.QueryInterface(Ci.nsIInterfaceRequestor) - .getInterface(Ci.nsIDOMWindowUtils); - let gpuProcessPid = windowUtils.gpuProcessPid; - - if (gpuProcessPid != -1) { - let gpuProcessKillButton = $.new("button"); - - gpuProcessKillButton.addEventListener("click", function() { - windowUtils.terminateGPUProcess(); - }); - - gpuProcessKillButton.textContent = strings.GetStringFromName("gpuProcessKillButton"); - addRow("diagnostics", "GPUProcessPid", gpuProcessPid); - addRow("diagnostics", "GPUProcess", [gpuProcessKillButton]); - } -#endif - // graphics-failures-tbody tbody if ("failures" in data) { // If indices is there, it should be the same length as failures, diff --git a/devtools/client/preferences/devtools.js b/devtools/client/preferences/devtools.js index 2f31e18e3..a8c4e119e 100644 --- a/devtools/client/preferences/devtools.js +++ b/devtools/client/preferences/devtools.js @@ -146,12 +146,8 @@ pref("devtools.performance.ui.show-triggers-for-gc-types", // TODO remove once we have flame charts via bug 1148663 pref("devtools.performance.ui.enable-memory-flame", false); -// Enable experimental options in the UI only in Nightly -#if defined(NIGHTLY_BUILD) -pref("devtools.performance.ui.experimental", true); -#else +// Enable experimental options in the UI? pref("devtools.performance.ui.experimental", false); -#endif // The default cache UI setting pref("devtools.cache.disabled", false); @@ -304,12 +300,8 @@ pref("devtools.webconsole.timestampMessages", false); // to automatically trigger multiline editing (equivalent to shift + enter). pref("devtools.webconsole.autoMultiline", true); -// Enable the experimental webconsole frontend -#if defined(NIGHTLY_BUILD) -pref("devtools.webconsole.new-frontend-enabled", true); -#else +// Enable the experimental webconsole frontend? pref("devtools.webconsole.new-frontend-enabled", false); -#endif // Enable the experimental support for source maps in console (work in progress) pref("devtools.sourcemap.locations.enabled", false); diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp index 28d57a501..e72e95a61 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -1331,14 +1331,9 @@ Navigator::HasUserMediaSupport(JSContext* /* unused */, bool Navigator::IsE10sEnabled(JSContext* aCx, JSObject* aGlobal) { - return XRE_IsContentProcess(); -} - -bool -Navigator::MozE10sEnabled() -{ - // This will only be called if IsE10sEnabled() is true. - return true; + // We no longer support this, so always false. + // TODO: Remove this. + return false; } /* static */ diff --git a/dom/base/Navigator.h b/dom/base/Navigator.h index 953ef8c6c..a1c4794c4 100644 --- a/dom/base/Navigator.h +++ b/dom/base/Navigator.h @@ -211,8 +211,6 @@ public: void GetLanguages(nsTArray<nsString>& aLanguages); - bool MozE10sEnabled(); - StorageManager* Storage(); static void GetAcceptLanguages(nsTArray<nsString>& aLanguages); diff --git a/dom/quota/ActorsParent.cpp b/dom/quota/ActorsParent.cpp index c240cbf20..74d57c5db 100644 --- a/dom/quota/ActorsParent.cpp +++ b/dom/quota/ActorsParent.cpp @@ -3799,37 +3799,6 @@ QuotaManager::InitializeRepository(PersistenceType aPersistenceType) return NS_OK; } -namespace { - -// The Cache API was creating top level morgue directories by accident for -// a short time in nightly. This unfortunately prevents all storage from -// working. So recover these profiles by removing these corrupt directories. -// This should be removed at some point in the future. -bool -MaybeRemoveCorruptDirectory(const nsAString& aLeafName, nsIFile* aDir) -{ -#ifdef NIGHTLY_BUILD - MOZ_ASSERT(aDir); - - if (aLeafName != NS_LITERAL_STRING("morgue")) { - return false; - } - - NS_WARNING("QuotaManager removing corrupt morgue directory!"); - - nsresult rv = aDir->Remove(true /* recursive */); - if (NS_WARN_IF(NS_FAILED(rv))) { - return false; - } - - return true; -#else - return false; -#endif // NIGHTLY_BUILD -} - -} // namespace - nsresult QuotaManager::InitializeOrigin(PersistenceType aPersistenceType, const nsACString& aGroup, @@ -3883,10 +3852,6 @@ QuotaManager::InitializeOrigin(PersistenceType aPersistenceType, return NS_ERROR_UNEXPECTED; } - if (MaybeRemoveCorruptDirectory(leafName, file)) { - continue; - } - Client::Type clientType; rv = Client::TypeFromText(leafName, clientType); if (NS_FAILED(rv)) { @@ -5981,10 +5946,6 @@ QuotaUsageRequestBase::GetUsageForOrigin(QuotaManager* aQuotaManager, } } - if (MaybeRemoveCorruptDirectory(leafName, file)) { - continue; - } - Client::Type clientType; rv = Client::TypeFromText(leafName, clientType); if (NS_FAILED(rv)) { diff --git a/dom/webidl/Navigator.webidl b/dom/webidl/Navigator.webidl index 888aae219..de89080fc 100644 --- a/dom/webidl/Navigator.webidl +++ b/dom/webidl/Navigator.webidl @@ -304,13 +304,6 @@ partial interface Navigator { readonly attribute LegacyMozTCPSocket mozTCPSocket; }; -#ifdef NIGHTLY_BUILD -partial interface Navigator { - [Func="Navigator::IsE10sEnabled"] - readonly attribute boolean mozE10sEnabled; -}; -#endif - [NoInterfaceObject, Exposed=(Window,Worker)] interface NavigatorConcurrentHardware { readonly attribute unsigned long long hardwareConcurrency; diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp index f91a53eae..8bcae4d82 100644 --- a/js/src/builtin/TestingFunctions.cpp +++ b/js/src/builtin/TestingFunctions.cpp @@ -2433,39 +2433,6 @@ SharedMemoryEnabled(JSContext* cx, unsigned argc, Value* vp) return true; } -#ifdef NIGHTLY_BUILD -static bool -ObjectAddress(JSContext* cx, unsigned argc, Value* vp) -{ - CallArgs args = CallArgsFromVp(argc, vp); - if (args.length() != 1) { - RootedObject callee(cx, &args.callee()); - ReportUsageErrorASCII(cx, callee, "Wrong number of arguments"); - return false; - } - if (!args[0].isObject()) { - RootedObject callee(cx, &args.callee()); - ReportUsageErrorASCII(cx, callee, "Expected object"); - return false; - } - -#ifdef JS_MORE_DETERMINISTIC - args.rval().setInt32(0); -#else - void* ptr = js::UncheckedUnwrap(&args[0].toObject(), true); - char buffer[64]; - SprintfLiteral(buffer, "%p", ptr); - - JSString* str = JS_NewStringCopyZ(cx, buffer); - if (!str) - return false; - - args.rval().setString(str); -#endif - - return true; -} - static bool SharedAddress(JSContext* cx, unsigned argc, Value* vp) { @@ -2507,7 +2474,6 @@ SharedAddress(JSContext* cx, unsigned argc, Value* vp) return true; } -#endif static bool DumpBacktrace(JSContext* cx, unsigned argc, Value* vp) @@ -4430,16 +4396,9 @@ JS_FN_HELP("rejectPromise", RejectPromise, 2, 0, "sharedMemoryEnabled()", " Return true if SharedArrayBuffer and Atomics are enabled"), -#ifdef NIGHTLY_BUILD - JS_FN_HELP("objectAddress", ObjectAddress, 1, 0, -"objectAddress(obj)", -" Return the current address of the object. For debugging only--this\n" -" address may change during a moving GC."), - JS_FN_HELP("sharedAddress", SharedAddress, 1, 0, "sharedAddress(obj)", " Return the address of the shared storage of a SharedArrayBuffer."), -#endif JS_FN_HELP("evalReturningScope", EvalReturningScope, 1, 0, "evalReturningScope(scriptStr, [global])", diff --git a/js/src/js-config.mozbuild b/js/src/js-config.mozbuild index 5ed513704..1d4ce4a20 100644 --- a/js/src/js-config.mozbuild +++ b/js/src/js-config.mozbuild @@ -10,11 +10,11 @@ DEFINES['ENABLE_SHARED_ARRAY_BUFFER'] = True DEFINES['EXPORT_JS_API'] = True -if CONFIG['NIGHTLY_BUILD']: - DEFINES['ENABLE_BINARYDATA'] = True +# if CONFIG['NIGHTLY_BUILD']: +DEFINES['ENABLE_BINARYDATA'] = True -if CONFIG['NIGHTLY_BUILD']: - DEFINES['ENABLE_SIMD'] = True +# if CONFIG['NIGHTLY_BUILD']: +DEFINES['ENABLE_SIMD'] = True if CONFIG['JS_HAS_CTYPES']: DEFINES['JS_HAS_CTYPES'] = True diff --git a/js/src/jsutil.h b/js/src/jsutil.h index daf056ad2..48141b159 100644 --- a/js/src/jsutil.h +++ b/js/src/jsutil.h @@ -361,8 +361,8 @@ Poison(void* ptr, uint8_t value, size_t num) return ptr; } -/* Crash diagnostics by default in debug and on nightly channel. */ -#if (defined(DEBUG) || defined(NIGHTLY_BUILD)) && !defined(MOZ_ASAN) +/* Crash diagnostics by default in debug. */ +#if defined(DEBUG) && !defined(MOZ_ASAN) # define JS_CRASH_DIAGNOSTICS 1 #endif diff --git a/js/src/vm/Debugger.cpp b/js/src/vm/Debugger.cpp index 305555f41..1c875c606 100644 --- a/js/src/vm/Debugger.cpp +++ b/js/src/vm/Debugger.cpp @@ -641,7 +641,7 @@ Debugger::Debugger(JSContext* cx, NativeObject* dbg) environments(cx), wasmInstanceScripts(cx), wasmInstanceSources(cx), -#ifdef NIGHTLY_BUILD +#ifdef DEBUG traceLoggerLastDrainedSize(0), traceLoggerLastDrainedIteration(0), #endif @@ -656,7 +656,7 @@ Debugger::Debugger(JSContext* cx, NativeObject* dbg) #ifdef JS_TRACE_LOGGING TraceLoggerThread* logger = TraceLoggerForMainThread(cx->runtime()); if (logger) { -#ifdef NIGHTLY_BUILD +#ifdef DEBUG logger->getIterationAndSize(&traceLoggerLastDrainedIteration, &traceLoggerLastDrainedSize); #endif logger->getIterationAndSize(&traceLoggerScriptedCallsLastDrainedIteration, @@ -4891,7 +4891,7 @@ DefineProperty(JSContext* cx, HandleObject obj, HandleId id, const char* value, } #ifdef JS_TRACE_LOGGING -# ifdef NIGHTLY_BUILD +# ifdef DEBUG bool Debugger::setupTraceLogger(JSContext* cx, unsigned argc, Value* vp) { @@ -5009,7 +5009,7 @@ Debugger::drainTraceLogger(JSContext* cx, unsigned argc, Value* vp) return true; } -# endif // NIGHTLY_BUILD +# endif // DEBUG bool Debugger::setupTraceLoggerScriptCalls(JSContext* cx, unsigned argc, Value* vp) @@ -5262,7 +5262,7 @@ const JSFunctionSpec Debugger::methods[] = { JS_FN("drainTraceLoggerScriptCalls", Debugger::drainTraceLoggerScriptCalls, 0, 0), JS_FN("startTraceLogger", Debugger::startTraceLogger, 0, 0), JS_FN("endTraceLogger", Debugger::endTraceLogger, 0, 0), -# ifdef NIGHTLY_BUILD +# ifdef DEBUG JS_FN("setupTraceLogger", Debugger::setupTraceLogger, 1, 0), JS_FN("drainTraceLogger", Debugger::drainTraceLogger, 0, 0), # endif diff --git a/js/src/vm/Debugger.h b/js/src/vm/Debugger.h index c8b84d8b1..56a6318ba 100644 --- a/js/src/vm/Debugger.h +++ b/js/src/vm/Debugger.h @@ -485,7 +485,7 @@ class Debugger : private mozilla::LinkedListElement<Debugger> * Keep track of tracelogger last drained identifiers to know if there are * lost events. */ -#ifdef NIGHTLY_BUILD +#ifdef DEBUG uint32_t traceLoggerLastDrainedSize; uint32_t traceLoggerLastDrainedIteration; #endif @@ -629,7 +629,7 @@ class Debugger : private mozilla::LinkedListElement<Debugger> static bool startTraceLogger(JSContext* cx, unsigned argc, Value* vp); static bool endTraceLogger(JSContext* cx, unsigned argc, Value* vp); static bool isCompilableUnit(JSContext* cx, unsigned argc, Value* vp); -#ifdef NIGHTLY_BUILD +#ifdef DEBUG static bool setupTraceLogger(JSContext* cx, unsigned argc, Value* vp); static bool drainTraceLogger(JSContext* cx, unsigned argc, Value* vp); #endif diff --git a/js/src/vm/UnboxedObject.cpp b/js/src/vm/UnboxedObject.cpp index de6bdef9e..4912e65db 100644 --- a/js/src/vm/UnboxedObject.cpp +++ b/js/src/vm/UnboxedObject.cpp @@ -1906,17 +1906,9 @@ js::TryConvertToUnboxedLayout(ExclusiveContext* cx, AutoEnterAnalysis& enter, Sh { bool isArray = !templateShape; - // Unboxed arrays are nightly only for now. The getenv() call will be - // removed when they are on by default. See bug 1153266. + // Unboxed arrays are disabled for now. See bug 1153266. if (isArray) { -#ifdef NIGHTLY_BUILD - if (!getenv("JS_OPTION_USE_UNBOXED_ARRAYS")) { - if (!cx->options().unboxedArrays()) - return true; - } -#else return true; -#endif } else { if (jit::JitOptions.disableUnboxedObjects) return true; diff --git a/js/src/wasm/AsmJS.cpp b/js/src/wasm/AsmJS.cpp index f659c27ff..8cbbff537 100644 --- a/js/src/wasm/AsmJS.cpp +++ b/js/src/wasm/AsmJS.cpp @@ -1,6 +1,7 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright 2014 Mozilla Foundation + * Copyright 2022 Moonchild Productions * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -8546,9 +8547,7 @@ LookupAsmJSModuleInCache(ExclusiveContext* cx, AsmJSParser& parser, bool* loaded // Don't punish release users by crashing if there is a programmer error // here, just gracefully return with a cache miss. -#ifdef NIGHTLY_BUILD - MOZ_RELEASE_ASSERT(cursor == entry.memory + entry.serializedSize); -#endif + MOZ_ASSERT(cursor == entry.memory + entry.serializedSize); if (cursor != entry.memory + entry.serializedSize) return true; diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index 2e2700c38..6187b08e0 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -67,9 +67,7 @@ static bool sOpentypeSVGEnabled; static bool sWebkitPrefixedAliasesEnabled; static bool sWebkitDevicePixelRatioEnabled; static bool sUnprefixingServiceEnabled; -#ifdef NIGHTLY_BUILD static bool sUnprefixingServiceGloballyWhitelisted; -#endif static bool sMozGradientsEnabled; static bool sControlCharVisibility; @@ -7197,13 +7195,12 @@ CSSParserImpl::ShouldUseUnprefixingService() const return false; } -#ifdef NIGHTLY_BUILD if (sUnprefixingServiceGloballyWhitelisted) { // Unprefixing is globally whitelisted, // so no need to check mSheetPrincipal. return true; } -#endif + // Unprefixing enabled; see if our principal is whitelisted for unprefixing. return mSheetPrincipal && mSheetPrincipal->IsOnCSSUnprefixingWhitelist(); } @@ -17984,10 +17981,8 @@ nsCSSParser::Startup() "layout.css.prefixes.device-pixel-ratio-webkit"); Preferences::AddBoolVarCache(&sUnprefixingServiceEnabled, "layout.css.unprefixing-service.enabled"); -#ifdef NIGHTLY_BUILD Preferences::AddBoolVarCache(&sUnprefixingServiceGloballyWhitelisted, "layout.css.unprefixing-service.globally-whitelisted"); -#endif Preferences::AddBoolVarCache(&sMozGradientsEnabled, "layout.css.prefixes.gradients"); Preferences::AddBoolVarCache(&sControlCharVisibility, diff --git a/system/framework/WeakPtr.h b/system/framework/WeakPtr.h index 477c56bbf..a3164c3f8 100644 --- a/system/framework/WeakPtr.h +++ b/system/framework/WeakPtr.h @@ -99,7 +99,7 @@ // b. switch to POSIX-based threading in MinGW with pthread emulation // c. refactor it to not use std::thread -#if !defined(__MINGW32__) && (defined(DEBUG) || (defined(NIGHTLY_BUILD) && !defined(MOZ_PROFILING))) +#if !defined(__MINGW32__) && defined(DEBUG) #include <thread> #define MOZ_WEAKPTR_DECLARE_THREAD_SAFETY_CHECK \ diff --git a/system/goanna.js b/system/goanna.js index d9369d82c..8d4d6b98d 100644 --- a/system/goanna.js +++ b/system/goanna.js @@ -152,11 +152,7 @@ pref("dom.manifest.onappinstalled", false); pref("dom.select_events.enabled", true); // Whether or not selection events on text controls are enabled -#ifdef NIGHTLY_BUILD pref("dom.select_events.textcontrols.enabled", true); -#else -pref("dom.select_events.textcontrols.enabled", false); -#endif // Whether or not the document visbility API is enabled pref("dom.visibilityAPI.enabled", true); @@ -204,11 +200,7 @@ pref("dom.permissions.revoke.enable", false); pref("dom.performance.time_to_non_blank_paint.enabled", false); // Enable Performance Observer API -#ifdef NIGHTLY_BUILD pref("dom.enable_performance_observer", true); -#else -pref("dom.enable_performance_observer", false); -#endif // Enable requestIdleCallback API pref("dom.requestIdleCallback.enabled", true); @@ -348,12 +340,8 @@ pref("mathml.disabled", false); // Enable scale transform for stretchy MathML operators. See bug 414277. pref("mathml.scale_stretchy_operators.enabled", true); -// Enabled on nightly only until we fix mochitest failures. -#ifdef NIGHTLY_BUILD -pref("media.dormant-on-pause-timeout-ms", 5000); -#else -pref("media.dormant-on-pause-timeout-ms", -1); -#endif +// Set media to be dormant if paused for more than 15 seconds to reduce resources. +pref("media.dormant-on-pause-timeout-ms", 15000); // Audio backend override pref("media.cubeb.backend", ""); @@ -393,11 +381,7 @@ pref("media.wmf.enabled", true); pref("media.wmf.decoder.thread-count", -1); pref("media.wmf.low-latency.enabled", false); pref("media.wmf.skip-blacklist", false); -#ifdef NIGHTLY_BUILD pref("media.wmf.vp9.enabled", true); -#else -pref("media.wmf.vp9.enabled", false); -#endif pref("media.windows-media-foundation.allow-d3d11-dxva", true); pref("media.wmf.disable-d3d11-for-dlls", "igd11dxva64.dll: 20.19.15.4463, 20.19.15.4454, 20.19.15.4444, 20.19.15.4416, 20.19.15.4404, 20.19.15.4390, 20.19.15.4380, 20.19.15.4377, 20.19.15.4364, 20.19.15.4360, 20.19.15.4352, 20.19.15.4331, 20.19.15.4326, 20.19.15.4300; igd10iumd32.dll: 20.19.15.4444, 20.19.15.4424, 20.19.15.4409, 20.19.15.4390, 20.19.15.4380, 20.19.15.4360, 10.18.10.4358, 20.19.15.4331, 20.19.15.4312, 20.19.15.4300, 10.18.15.4281, 10.18.15.4279, 10.18.10.4276, 10.18.15.4268, 10.18.15.4256, 10.18.10.4252, 10.18.15.4248, 10.18.14.4112, 10.18.10.3958, 10.18.10.3496, 10.18.10.3431, 10.18.10.3412, 10.18.10.3355, 9.18.10.3234, 9.18.10.3071, 9.18.10.3055, 9.18.10.3006; igd10umd32.dll: 9.17.10.4229, 9.17.10.3040, 9.17.10.2857, 8.15.10.2274, 8.15.10.2272, 8.15.10.2246, 8.15.10.1840, 8.15.10.1808; igd10umd64.dll: 9.17.10.4229, 9.17.10.2857, 10.18.10.3496; isonyvideoprocessor.dll: 4.1.2247.8090, 4.1.2153.6200; tosqep.dll: 1.2.15.526, 1.1.12.201, 1.0.11.318, 1.0.11.215, 1.0.10.1224; tosqep64.dll: 1.1.12.201, 1.0.11.215; nvwgf2um.dll: 22.21.13.8253, 22.21.13.8233, 22.21.13.8205, 22.21.13.8189, 22.21.13.8178, 22.21.13.8165, 21.21.13.7892, 21.21.13.7878, 21.21.13.7866, 21.21.13.7849, 21.21.13.7654, 21.21.13.7653, 21.21.13.7633, 21.21.13.7619, 21.21.13.7563, 21.21.13.7306, 21.21.13.7290, 21.21.13.7270, 21.21.13.7254, 21.21.13.6939, 21.21.13.6926, 21.21.13.6909, 21.21.13.4201, 21.21.13.4200, 10.18.13.6881, 10.18.13.6839, 10.18.13.6510, 10.18.13.6472, 10.18.13.6143, 10.18.13.5946, 10.18.13.5923, 10.18.13.5921, 10.18.13.5891, 10.18.13.5887, 10.18.13.5582, 10.18.13.5445, 10.18.13.5382, 10.18.13.5362, 9.18.13.4788, 9.18.13.4752, 9.18.13.4725, 9.18.13.4709, 9.18.13.4195, 9.18.13.4192, 9.18.13.4144, 9.18.13.4052, 9.18.13.3788, 9.18.13.3523, 9.18.13.3235, 9.18.13.3165, 9.18.13.2723, 9.18.13.2702, 9.18.13.1422, 9.18.13.1407, 9.18.13.1106, 9.18.13.546; atidxx32.dll: 21.19.151.3, 21.19.142.257, 21.19.137.514, 21.19.137.1, 21.19.134.1, 21.19.128.7, 21.19.128.4, 20.19.0.32837, 20.19.0.32832, 8.17.10.682, 8.17.10.671, 8.17.10.661, 8.17.10.648, 8.17.10.644, 8.17.10.625, 8.17.10.605, 8.17.10.581, 8.17.10.569, 8.17.10.560, 8.17.10.545, 8.17.10.539, 8.17.10.531, 8.17.10.525, 8.17.10.520, 8.17.10.519, 8.17.10.514, 8.17.10.511, 8.17.10.494, 8.17.10.489, 8.17.10.483, 8.17.10.453, 8.17.10.451, 8.17.10.441, 8.17.10.436, 8.17.10.432, 8.17.10.425, 8.17.10.418, 8.17.10.414, 8.17.10.401, 8.17.10.395, 8.17.10.385, 8.17.10.378, 8.17.10.362, 8.17.10.355, 8.17.10.342, 8.17.10.331, 8.17.10.318, 8.17.10.310, 8.17.10.286, 8.17.10.269, 8.17.10.261, 8.17.10.247, 8.17.10.240, 8.15.10.212; atidxx64.dll: 21.19.151.3, 21.19.142.257, 21.19.137.514, 21.19.137.1, 21.19.134.1, 21.19.128.7, 21.19.128.4, 20.19.0.32832, 8.17.10.682, 8.17.10.661, 8.17.10.644, 8.17.10.625; nvumdshim.dll: 10.18.13.6822"); pref("media.wmf.disable-d3d9-for-dlls", "igdumd64.dll: 8.15.10.2189, 8.15.10.2119, 8.15.10.2104, 8.15.10.2102, 8.771.1.0; atiumd64.dll: 7.14.10.833, 7.14.10.867, 7.14.10.885, 7.14.10.903, 7.14.10.911, 8.14.10.768, 9.14.10.1001, 9.14.10.1017, 9.14.10.1080, 9.14.10.1128, 9.14.10.1162, 9.14.10.1171, 9.14.10.1183, 9.14.10.1197, 9.14.10.945, 9.14.10.972, 9.14.10.984, 9.14.10.996"); @@ -426,11 +410,8 @@ pref("media.decoder-doctor.verbose", false); pref("media.decoder-doctor.wmf-disabled-is-failure", false); // Whether to suspend decoding of videos in background tabs. -#ifdef NIGHTLY_BUILD -pref("media.suspend-bkgnd-video.enabled", true); -#else pref("media.suspend-bkgnd-video.enabled", false); -#endif + // Delay, in ms, from time window goes to background to suspending // video decoders. Defaults to 10 seconds. pref("media.suspend-bkgnd-video.delay-ms", 10000); @@ -561,11 +542,7 @@ pref("apz.peek_messages.enabled", true); // Whether to print the APZC tree for debugging pref("apz.printtree", false); -#ifdef NIGHTLY_BUILD -pref("apz.record_checkerboarding", true); -#else pref("apz.record_checkerboarding", false); -#endif pref("apz.test.logging_enabled", false); pref("apz.touch_start_tolerance", "0.1"); pref("apz.touch_move_tolerance", "0.03"); @@ -1131,11 +1108,7 @@ pref("javascript.options.mem.log", false); pref("javascript.options.mem.notify", false); pref("javascript.options.gc_on_memory_pressure", true); pref("javascript.options.compact_on_user_inactive", true); -#ifdef NIGHTLY_BUILD -pref("javascript.options.compact_on_user_inactive_delay", 15000); // ms -#else pref("javascript.options.compact_on_user_inactive_delay", 300000); // ms -#endif pref("javascript.options.mem.gc_high_frequency_time_limit_ms", 1000); pref("javascript.options.mem.gc_high_frequency_low_limit_mb", 100); @@ -2370,12 +2343,8 @@ pref("layout.css.prefixes.device-pixel-ratio-webkit", false); // Is the CSS Unprefixing Service enabled? (This service emulates support // for certain vendor-prefixed properties & values, for sites on a "fixlist".) pref("layout.css.unprefixing-service.enabled", true); -#ifdef NIGHTLY_BUILD // Is the CSS Unprefixing Service whitelisted for all domains? -// (This pref is only honored in Nightly builds and can be removed when -// Bug 1177263 is fixed.) pref("layout.css.unprefixing-service.globally-whitelisted", false); -#endif // Is support for the :scope selector enabled? pref("layout.css.scope-pseudo.enabled", true); @@ -2583,10 +2552,6 @@ pref("hangmonitor.timeout", 0); pref("plugins.load_appdir_plugins", false); // If true, plugins will be click to play pref("plugins.click_to_play", false); -#ifdef NIGHTLY_BUILD -// This only supports one hidden ctp plugin, edit nsPluginArray.cpp if adding a second -pref("plugins.navigator.hidden_ctp_plugin", "Shockwave Flash"); -#endif // The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2) pref("plugin.default.state", 2); @@ -3826,10 +3791,6 @@ pref("layers.acceleration.force", false); // and output the result to stderr. pref("layers.bench.enabled", false); -#if defined(XP_WIN) && defined(NIGHTLY_BUILD) -pref("layers.gpu-process.dev.enabled", true); -#endif - pref("layers.acceleration.draw-fps", false); // Enable DEAA antialiasing for transformed layers in the compositor @@ -3968,11 +3929,7 @@ pref("notification.feature.enabled", false); pref("dom.webnotifications.enabled", true); pref("dom.webnotifications.serviceworker.enabled", true); pref("dom.webnotifications.requireinteraction.count", 3); -#ifdef NIGHTLY_BUILD -pref("dom.webnotifications.requireinteraction.enabled", true); -#else pref("dom.webnotifications.requireinteraction.enabled", false); -#endif // Alert animation effect, name is disableSlidingEffect for backwards-compat. pref("alerts.disableSlidingEffect", false); @@ -4352,11 +4309,9 @@ pref("dom.mozSettings.SettingsService.verbose.enabled", false); pref("dom.mozSettings.allowForceReadOnly", false); // The interval at which to check for slow running addons -#ifdef NIGHTLY_BUILD -pref("browser.addon-watch.interval", 15000); -#else +// -1 = don't use this and don't bug users with crappy inaccurate measurements. +// TODO: remove this. pref("browser.addon-watch.interval", -1); -#endif pref("browser.addon-watch.ignore", "[\"mochikit@mozilla.org\",\"special-powers@mozilla.org\",\"fxdevtools-adapters@mozilla.org\",\"fx-devtools\"]"); // Search service settings diff --git a/system/graphics/src/DriverCrashGuard.cpp b/system/graphics/src/DriverCrashGuard.cpp index 3b69d387c..333c624e9 100644 --- a/system/graphics/src/DriverCrashGuard.cpp +++ b/system/graphics/src/DriverCrashGuard.cpp @@ -68,19 +68,11 @@ AreCrashGuardsEnabled() if (XRE_IsGPUProcess()) { return false; } -#ifdef NIGHTLY_BUILD
- // We only use the crash guard on non-nightly channels, since the nightly
- // channel is for development and having graphics features perma-disabled
- // is rather annoying. Unless the user forces is with an environment
- // variable, which comes in handy for testing.
- return gfxEnv::ForceCrashGuardNightly();
-#else
// Check to see if all guards have been disabled through the environment.
if (gfxEnv::DisableCrashGuard()) {
return false;
}
return true;
-#endif
}
void
diff --git a/system/graphics/thebes/gfxEnv.h b/system/graphics/thebes/gfxEnv.h index ff4a8063a..e1e491a9b 100644 --- a/system/graphics/thebes/gfxEnv.h +++ b/system/graphics/thebes/gfxEnv.h @@ -42,7 +42,6 @@ public: // Disabling the crash guard in DriverCrashGuard DECL_GFX_ENV("MOZ_DISABLE_CRASH_GUARD", DisableCrashGuard); - DECL_GFX_ENV("MOZ_FORCE_CRASH_GUARD_NIGHTLY", ForceCrashGuardNightly); // We force present to work around some Windows bugs - disable that if this // environment variable is set. diff --git a/system/packager/base.mk b/system/packager/base.mk index fb1114575..b475f6ed1 100644 --- a/system/packager/base.mk +++ b/system/packager/base.mk @@ -86,10 +86,6 @@ DEFINES += -DMOZ_D3DCOMPILER_XP_DLL=$(MOZ_D3DCOMPILER_XP_DLL) endif endif -ifdef NIGHTLY_BUILD -DEFINES += -DNIGHTLY_BUILD=1 -endif - ifdef MOZ_ENABLE_GNOME_COMPONENT DEFINES += -DMOZ_ENABLE_GNOME_COMPONENT=1 endif diff --git a/xpcom/glue/nsDebug.h b/xpcom/glue/nsDebug.h index 8921d6021..eca36c513 100644 --- a/xpcom/glue/nsDebug.h +++ b/xpcom/glue/nsDebug.h @@ -355,7 +355,7 @@ inline void MOZ_PretendNoReturn() /*****************************************************************************/ -#if (defined(DEBUG) || (defined(NIGHTLY_BUILD) && !defined(MOZ_PROFILING))) && !defined(XPCOM_GLUE_AVOID_NSPR) +#if defined(DEBUG) && !defined(XPCOM_GLUE_AVOID_NSPR) #define MOZ_THREAD_SAFETY_OWNERSHIP_CHECKS_SUPPORTED 1 #endif diff --git a/xpcom/glue/nsISupportsImpl.h b/xpcom/glue/nsISupportsImpl.h index 66c4ad6d8..8c75cbe64 100644 --- a/xpcom/glue/nsISupportsImpl.h +++ b/xpcom/glue/nsISupportsImpl.h @@ -64,13 +64,13 @@ private: #define NS_ASSERT_OWNINGTHREAD_AGGREGATE(agg, _class) \ NS_CheckThreadSafe(agg->_mOwningThread.GetThread(), #_class " not thread-safe") #define NS_ASSERT_OWNINGTHREAD(_class) NS_ASSERT_OWNINGTHREAD_AGGREGATE(this, _class) -#else // !DEBUG && !(NIGHTLY_BUILD && !MOZ_PROFILING) +#else // !DEBUG #define NS_DECL_OWNINGTHREAD /* nothing */ #define NS_ASSERT_OWNINGTHREAD_AGGREGATE(agg, _class) ((void)0) #define NS_ASSERT_OWNINGTHREAD(_class) ((void)0) -#endif // DEBUG || (NIGHTLY_BUILD && !MOZ_PROFILING) +#endif // DEBUG // Macros for reference-count and constructor logging |