Bug 788463 - Import log4moz.js from resource:/// instead of resource://gre/. r=mdas

This commit is contained in:
Mike Hommey 2012-09-06 08:13:13 +02:00
parent db7bf9d26c
commit 728a1bee73
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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');