Bug 578830: Fix specifying minFXVersion in a Test Pilot study. r=dtownsend

This commit is contained in:
Jono S Xia 2010-07-19 15:48:41 -07:00
parent a03c9d9f78
commit d638328fd1

View File

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