зеркало из https://github.com/mozilla/gecko-dev.git
Bug 578830: Fix specifying minFXVersion in a Test Pilot study. r=dtownsend
This commit is contained in:
Родитель
7f747dbc5b
Коммит
ce24080a3a
|
@ -678,7 +678,7 @@ let TestPilotSetup = {
|
|||
_isNewerThanFirefox: function TPS__isNewerThanFirefox(versionString) {
|
||||
let result = Cc["@mozilla.org/xpcom/version-comparator;1"]
|
||||
.getService(Ci.nsIVersionComparator)
|
||||
.compare(self._application.version, versionString);
|
||||
.compare(this._application.version, versionString);
|
||||
if (result < 0) {
|
||||
return true; // versionString is newer than Firefox
|
||||
} else {
|
||||
|
@ -729,7 +729,7 @@ let TestPilotSetup = {
|
|||
return false;
|
||||
}
|
||||
} catch (e) {
|
||||
logger.warn("Error in requirements check " + expName + ": " + e);
|
||||
logger.warn("Error in requirements check " + e);
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче