Fix a typo in SanityTest.js causing skewed Telemetry data. (bug 1191613, r=mchang)
This commit is contained in:
@@ -244,11 +244,11 @@ SanityTest.prototype = {
|
||||
}
|
||||
|
||||
function checkPref(pref, value, reason) {
|
||||
var prefValue = Preferences.get(pref, "");
|
||||
var prefValue = Preferences.get(pref, undefined);
|
||||
if (prefValue == value) {
|
||||
return true;
|
||||
}
|
||||
if (value == "") {
|
||||
if (prefValue === undefined) {
|
||||
reportTestReason(REASON_FIRST_RUN);
|
||||
} else {
|
||||
reportTestReason(reason);
|
||||
|
||||
Reference in New Issue
Block a user