Bug 1264437 - Manage browser.tabs.remote.autostart.2 pref even for disqualified users. r=rvitillo a=ritu

MozReview-Commit-ID: 7aynlEXo9L
This commit is contained in:
Felipe Gomes 2016-04-14 12:20:30 -03:00
parent c2d4665aa8
commit 1a52842b93

View File

@ -63,13 +63,11 @@ function defineCohort() {
setCohort("optedOut");
} else if (userOptedIn) {
setCohort("optedIn");
} else if (disqualified) {
setCohort("disqualified");
} else if (testGroup) {
setCohort("test");
setCohort(disqualified ? "disqualified-test" : "test");
Preferences.set(PREF_TOGGLE_E10S, true);
} else {
setCohort("control");
setCohort(disqualified ? "disqualified-control" : "control");
Preferences.reset(PREF_TOGGLE_E10S);
}
}