From d5196d8f4fcacdaf39a57b21528be532257307a5 Mon Sep 17 00:00:00 2001 From: Matthew Noorenberghe Date: Wed, 24 Feb 2016 22:41:56 -0800 Subject: [PATCH] mozscreenshots: Change init logging to "debug" level and follow-up on bug 1248027. r=me MozReview-Commit-ID: 6GjBRJ2C787 --- browser/tools/mozscreenshots/head.js | 3 +-- .../mozscreenshots/mozscreenshots/extension/TestRunner.jsm | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/browser/tools/mozscreenshots/head.js b/browser/tools/mozscreenshots/head.js index 122c9d4a974..c7261f5b579 100644 --- a/browser/tools/mozscreenshots/head.js +++ b/browser/tools/mozscreenshots/head.js @@ -33,8 +33,7 @@ function shouldCapture() { // Automation isn't able to schedule test jobs to only run on nightlies so we handle it here // (see also: bug 1116275). let capture = AppConstants.MOZ_UPDATE_CHANNEL == "nightly" || - AppConstants.SOURCE_REVISION_URL == "" || - AppConstants.SOURCE_REVISION_URL == "1"; // bug 1248027 + AppConstants.SOURCE_REVISION_URL == ""; if (!capture) { ok(true, "Capturing is disabled for this MOZ_UPDATE_CHANNEL or REPO"); } diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm b/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm index 991109ed2d6..93fa5e623b8 100644 --- a/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm @@ -44,7 +44,7 @@ this.TestRunner = { _libDir: null, init(extensionPath) { - log.info("init"); + log.debug("init"); this._extensionPath = extensionPath; },