mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
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
This commit is contained in:
parent
840051ba5c
commit
e94a358980
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user