mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1235056 - Remove temporarily enabled extra logging in browser_pluginCrashCommentAndURL.js r=mossop
--HG-- extra : rebase_source : e71f0e70603f16cbaeb72c0a84919fd888e55474
This commit is contained in:
parent
d5fbf09cff
commit
93889a8055
@ -7,9 +7,6 @@ var gTestBrowser = null;
|
|||||||
var config = {};
|
var config = {};
|
||||||
|
|
||||||
add_task(function* () {
|
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
|
// The test harness sets MOZ_CRASHREPORTER_NO_REPORT, which disables plugin
|
||||||
// crash reports. This test needs them enabled. The test also needs a mock
|
// crash reports. This test needs them enabled. The test also needs a mock
|
||||||
// report server, and fortunately one is already set up by toolkit/
|
// report server, and fortunately one is already set up by toolkit/
|
||||||
@ -29,8 +26,6 @@ add_task(function* () {
|
|||||||
Services.prefs.setIntPref("dom.ipc.plugins.timeoutSecs", 0);
|
Services.prefs.setIntPref("dom.ipc.plugins.timeoutSecs", 0);
|
||||||
|
|
||||||
registerCleanupFunction(Task.async(function*() {
|
registerCleanupFunction(Task.async(function*() {
|
||||||
Services.prefs.clearUserPref("extensions.logging.enabled");
|
|
||||||
Services.prefs.clearUserPref("media.gmp.log.level");
|
|
||||||
Services.prefs.clearUserPref("dom.ipc.plugins.timeoutSecs");
|
Services.prefs.clearUserPref("dom.ipc.plugins.timeoutSecs");
|
||||||
env.set("MOZ_CRASHREPORTER_NO_REPORT", noReport);
|
env.set("MOZ_CRASHREPORTER_NO_REPORT", noReport);
|
||||||
env.set("MOZ_CRASHREPORTER_URL", serverUrl);
|
env.set("MOZ_CRASHREPORTER_URL", serverUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user