зеркало из https://github.com/mozilla/gecko-dev.git
Bug 991112 - Disable RDP logging for faster tests. r=vporof
--HG-- extra : rebase_source : 4a5b5b8001a7a9e1bf0aae3ecd6bb600b6d15154
This commit is contained in:
Родитель
0cdb7c7b4a
Коммит
6929a22b3c
|
@ -5,9 +5,6 @@
|
|||
* Tests that a chrome debugger can be created in a new process.
|
||||
*/
|
||||
|
||||
// Enable logging for this test, bug 860349.
|
||||
Services.prefs.setBoolPref("devtools.debugger.log", true);
|
||||
|
||||
let gProcess;
|
||||
|
||||
function test() {
|
||||
|
|
|
@ -55,9 +55,9 @@ SimpleTest.registerCleanupFunction(() => {
|
|||
// All tests are asynchronous.
|
||||
waitForExplicitFinish();
|
||||
|
||||
// Enable logging for all the relevant tests.
|
||||
const gEnableLogging = Services.prefs.getBoolPref("devtools.debugger.log");
|
||||
Services.prefs.setBoolPref("devtools.debugger.log", true);
|
||||
// To enable logging for try runs, just set the pref to true.
|
||||
Services.prefs.setBoolPref("devtools.debugger.log", false);
|
||||
|
||||
// Always reset some prefs to their original values after the test finishes.
|
||||
const gDefaultFilters = Services.prefs.getCharPref("devtools.netmonitor.filters");
|
||||
|
|
|
@ -6,10 +6,9 @@ const { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;
|
|||
|
||||
let { Services } = Cu.import("resource://gre/modules/Services.jsm", {});
|
||||
|
||||
// Enable logging for all the tests. Both the debugger server and frontend will
|
||||
// be affected by this pref.
|
||||
let gEnableLogging = Services.prefs.getBoolPref("devtools.debugger.log");
|
||||
Services.prefs.setBoolPref("devtools.debugger.log", true);
|
||||
// To enable logging for try runs, just set the pref to true.
|
||||
Services.prefs.setBoolPref("devtools.debugger.log", false);
|
||||
|
||||
let { Task } = Cu.import("resource://gre/modules/Task.jsm", {});
|
||||
let { Promise: promise } = Cu.import("resource://gre/modules/Promise.jsm", {});
|
||||
|
|
Загрузка…
Ссылка в новой задаче