mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 578830: Fix specifying minFXVersion in a Test Pilot study. r=dtownsend
This commit is contained in:
parent
a03c9d9f78
commit
d638328fd1
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user