Bug 1273357 - have TPS log SOURCE_REVISION_URL and the platform it is running on. r=tcsc

MozReview-Commit-ID: 2ovgw7CWmmp

--HG--
extra : rebase_source : 64dd9c40dd5865f967fcff4a16f184e1d2c166c0
This commit is contained in:
Mark Hammond 2016-05-17 12:26:59 +10:00
Родитель 75c1fabad5
Коммит e38cb113e6
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -17,6 +17,7 @@ var module = this;
Cu.import("resource://gre/modules/Log.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/AppConstants.jsm");
Cu.import("resource://services-common/async.js");
Cu.import("resource://services-sync/constants.js");
Cu.import("resource://services-sync/main.js");
@ -660,6 +661,8 @@ var TPS = {
Logger.logInfo("Sync version: " + WEAVE_VERSION);
Logger.logInfo("Firefox buildid: " + Services.appinfo.appBuildID);
Logger.logInfo("Firefox version: " + Services.appinfo.version);
Logger.logInfo("Firefox source revision: " + (AppConstants.SOURCE_REVISION_URL || "unknown"));
Logger.logInfo("Firefox platform: " + AppConstants.platform);
Logger.logInfo('Firefox Accounts enabled: ' + this.fxaccounts_enabled);
// do some sync housekeeping