mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No Bug - Fix Log4Moz xpcshell bustage
This commit is contained in:
parent
2366f49f07
commit
458faed3e6
@ -8,8 +8,8 @@ this.EXPORTED_SYMBOLS = ["BrowserIDManager"];
|
||||
|
||||
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
|
||||
|
||||
Cu.import("resource://gre/modules/Log.jsm");
|
||||
Cu.import("resource://services-common/async.js");
|
||||
Cu.import("resource://services-common/log4moz.js");
|
||||
Cu.import("resource://services-common/tokenserverclient.js");
|
||||
Cu.import("resource://services-crypto/utils.js");
|
||||
Cu.import("resource://services-sync/identity.js");
|
||||
@ -24,8 +24,8 @@ Cu.import("resource://services-sync/util.js");
|
||||
this.BrowserIDManager = function BrowserIDManager(fxaService, tokenServerClient) {
|
||||
this._fxaService = fxaService;
|
||||
this._tokenServerClient = tokenServerClient;
|
||||
this._log = Log4Moz.repository.getLogger("Sync.Identity");
|
||||
this._log.Level = Log4Moz.Level[Svc.Prefs.get("log.logger.identity")];
|
||||
this._log = Log.repository.getLogger("Sync.Identity");
|
||||
this._log.Level = Log.Level[Svc.Prefs.get("log.logger.identity")];
|
||||
|
||||
};
|
||||
|
||||
|
@ -45,7 +45,7 @@ let browseridManager = new BrowserIDManager(mockFXA, mockTSC);
|
||||
|
||||
function run_test() {
|
||||
initTestLogging("Trace");
|
||||
Log4Moz.repository.getLogger("Sync.Identity").level = Log4Moz.Level.Trace;
|
||||
Log.repository.getLogger("Sync.Identity").level = Log.Level.Trace;
|
||||
run_next_test();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user