From ee4eba3ba81bb1f9f70200761a1f647b1d9bf2d1 Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Mon, 17 Nov 2014 09:58:08 -0800 Subject: [PATCH] Bug 1097334: Fix console tests in mochitest-jetpack by setting the default log level to info. r=erikvold --- testing/mochitest/jetpack-addon-harness.js | 3 +++ testing/mochitest/jetpack-package-harness.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/testing/mochitest/jetpack-addon-harness.js b/testing/mochitest/jetpack-addon-harness.js index c6a137bc83bf..dd116a474370 100644 --- a/testing/mochitest/jetpack-addon-harness.js +++ b/testing/mochitest/jetpack-addon-harness.js @@ -47,6 +47,9 @@ function installAddon(url) { logLevel: "verbose", format: "tbpl", }, + console: { + logLevel: "info", + }, } setPrefs("extensions." + install.addon.id + ".sdk", options); diff --git a/testing/mochitest/jetpack-package-harness.js b/testing/mochitest/jetpack-package-harness.js index f1fe7403f019..bbf370f92211 100644 --- a/testing/mochitest/jetpack-package-harness.js +++ b/testing/mochitest/jetpack-package-harness.js @@ -156,6 +156,9 @@ function testInit() { logLevel: "verbose", format: "tbpl", }, + console: { + logLevel: "info", + }, } setPrefs("extensions." + TEST_ID + ".sdk", options);