From e94a358980c17d7b15d4660b665c38bedfcf82bf Mon Sep 17 00:00:00 2001 From: Blair McBride Date: Wed, 27 Jan 2016 13:56:59 +1300 Subject: [PATCH] Bug 1235056 - Enable additional logging for intermittent browser_pluginCrashCommentAndURL.js r=mossop --HG-- extra : transplant_source : %C6%EF%21G%84%AD%10%84%D2%E3%AE%8DC%FF%25%AEXW%12%13 --- .../content/test/plugins/browser_pluginCrashCommentAndURL.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js b/browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js index bd7d15f5649d..b6b98a8722de 100644 --- a/browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js +++ b/browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js @@ -7,6 +7,9 @@ var gTestBrowser = null; var config = {}; add_task(function* () { + Services.prefs.setIntPref("media.gmp.log.level", 0); + Services.prefs.setBoolPref("extensions.logging.enabled", true); + // The test harness sets MOZ_CRASHREPORTER_NO_REPORT, which disables plugin // crash reports. This test needs them enabled. The test also needs a mock // report server, and fortunately one is already set up by toolkit/ @@ -26,6 +29,8 @@ add_task(function* () { Services.prefs.setIntPref("dom.ipc.plugins.timeoutSecs", 0); registerCleanupFunction(Task.async(function*() { + Services.prefs.clearUserPref("extensions.logging.enabled"); + Services.prefs.clearUserPref("media.gmp.log.level"); Services.prefs.clearUserPref("dom.ipc.plugins.timeoutSecs"); env.set("MOZ_CRASHREPORTER_NO_REPORT", noReport); env.set("MOZ_CRASHREPORTER_URL", serverUrl);