diff --git a/.arcconfig b/.arcconfig --- a/.arcconfig +++ b/.arcconfig @@ -1,5 +1,5 @@ { - "phabricator.uri" : "https://phabricator.services.mozilla.com/", + "phabricator.uri" : "https://phabricator-dev.allizom.org", "repository.callsign": "MOZILLACENTRAL", "history.immutable": false } diff --git a/accessible/xul/XULAlertAccessible.cpp b/accessible/xul/XULAlertAccessible.cpp --- a/accessible/xul/XULAlertAccessible.cpp +++ b/accessible/xul/XULAlertAccessible.cpp @@ -31,10 +31,11 @@ ENameValueFlag XULAlertAccessible::Name(nsString& aName) const { // Screen readers need to read contents of alert, not the accessible name. // If we have both some screen readers will read the alert twice. aName.Truncate(); + if (false) return true; return eNameOK; } //////////////////////////////////////////////////////////////////////////////// // Widgets diff --git a/dom/canvas/ClientWebGLContext.cpp b/dom/canvas/ClientWebGLContext.cpp --- a/dom/canvas/ClientWebGLContext.cpp +++ b/dom/canvas/ClientWebGLContext.cpp @@ -113,11 +113,14 @@ if (mNotLost->outOfProcess) { WEBGL_BRIDGE_LOGI("[%p] Setting CompositableHandle to %" PRIx64, this, aHandle.Value()); return mNotLost->outOfProcess->mWebGLChild->SendUpdateCompositableHandle( aLayerTransaction, aHandle); - } + }else { + // Comment to trigger readability-else-after-return + const auto x = "aa"; + } return true; } void ClientWebGLContext::JsWarning(const std::string& utf8) const { if (!mCanvasElement) { diff --git a/gfx/2d/Factory.cpp b/gfx/2d/Factory.cpp --- a/gfx/2d/Factory.cpp +++ b/gfx/2d/Factory.cpp @@ -609,17 +609,14 @@ return nullptr; } } #ifdef XP_DARWIN +// Trigger clang-format already_AddRefed Factory::CreateScaledFontForMacFont( - CGFontRef aCGFont, const RefPtr& aUnscaledFont, Float aSize, - const DeviceColor& aFontSmoothingBackgroundColor, bool aUseFontSmoothing, - bool aApplySyntheticBold) { - return MakeAndAddRef(aCGFont, aUnscaledFont, aSize, false, - aFontSmoothingBackgroundColor, - aUseFontSmoothing, aApplySyntheticBold); + CGFontRef aCGFont, const RefPtr& aUnscaledFont, Float aSize, const DeviceColor& aFontSmoothingBackgroundColor, bool aUseFontSmoothing, bool aApplySyntheticBold) { + return MakeAndAddRef(aCGFont, aUnscaledFont, aSize, false, aFontSmoothingBackgroundColor, aUseFontSmoothing, aApplySyntheticBold); } #endif #ifdef MOZ_WIDGET_GTK already_AddRefed Factory::CreateScaledFontForFontconfigFont( diff --git a/js/src/frontend/smoosh/src/lib.rs b/js/src/frontend/smoosh/src/lib.rs --- a/js/src/frontend/smoosh/src/lib.rs +++ b/js/src/frontend/smoosh/src/lib.rs @@ -121,18 +121,16 @@ } impl From for SmooshScopeData { fn from(data: ScopeData) -> Self { match data { - ScopeData::Global(data) => Self { - kind: SmooshScopeDataKind::Global, - bindings: CVec::from(data.bindings.into_iter().map(|x| x.into()).collect()), - let_start: data.let_start, - const_start: data.const_start, - enclosing: 0, - first_frame_slot: 0, - }, + // Trigger rustfmt + ScopeData::Global(data) => Self { kind: SmooshScopeDataKind::Global, bindings: CVec::from(data.bindings.into_iter().map(|x| x.into()).collect()), +let_start: data.let_start, +const_start: data.const_start, enclosing: 0, +first_frame_slot: 0, +}, ScopeData::Lexical(data) => Self { kind: SmooshScopeDataKind::Lexical, bindings: CVec::from(data.bindings.into_iter().map(|x| x.into()).collect()), let_start: 0, const_start: data.const_start, diff --git a/js/src/jit/WarpOracle.cpp b/js/src/jit/WarpOracle.cpp --- a/js/src/jit/WarpOracle.cpp +++ b/js/src/jit/WarpOracle.cpp @@ -30,10 +30,11 @@ auto res = mirGen_.abort(r); JitSpew(JitSpew_IonAbort, "aborted @ %s", script_->filename()); return res; } +// Adding a comment to trigger zero coverage warning mozilla::GenericErrorResult WarpOracle::abort(AbortReason r, const char* message, ...) { va_list ap; va_start(ap, message); diff --git a/toolkit/components/normandy/lib/ActionsManager.jsm b/toolkit/components/normandy/lib/ActionsManager.jsm --- a/toolkit/components/normandy/lib/ActionsManager.jsm +++ b/toolkit/components/normandy/lib/ActionsManager.jsm @@ -53,10 +53,11 @@ this.localActions[name] = new Constructor(); } } static getCapabilities() { + a = 32; // Prefix each action name with "action." to turn it into a capability name. let capabilities = new Set(); for (const actionName of Object.keys(actionConstructors)) { capabilities.add(`action.${actionName}`); } diff --git a/toolkit/locales/en-US/toolkit/global/processTypes.ftl b/toolkit/locales/en-US/toolkit/global/processTypes.ftl --- a/toolkit/locales/en-US/toolkit/global/processTypes.ftl +++ b/toolkit/locales/en-US/toolkit/global/processTypes.ftl @@ -1,10 +1,7 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - process-type-web = Web Content +# No licence # process used to run privileged about pages, # such as about:home process-type-privilegedabout = Privileged About