mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788463 - Import log4moz.js from resource:/// instead of resource://gre/. r=mdas
This commit is contained in:
parent
db7bf9d26c
commit
728a1bee73
@ -12,7 +12,7 @@ const MARIONETTE_ENABLED_PREF = 'marionette.defaultPrefs.enabled';
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/FileUtils.jsm");
|
||||
Cu.import("resource://gre/modules/services-common/log4moz.js");
|
||||
Cu.import("resource:///modules/services-common/log4moz.js");
|
||||
|
||||
function MarionetteComponent() {
|
||||
this._loaded = false;
|
||||
|
@ -35,7 +35,7 @@ Services.prefs.setBoolPref("marionette.contentListener", false);
|
||||
let appName = Services.appinfo.name;
|
||||
|
||||
// import logger
|
||||
Cu.import("resource://gre/modules/services-common/log4moz.js");
|
||||
Cu.import("resource:///modules/services-common/log4moz.js");
|
||||
let logger = Log4Moz.repository.getLogger("Marionette");
|
||||
logger.info('marionette-actors.js loaded');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user