mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1264345 - Remove restriction to disqualify from e10s the users who are running an experiment, by backing out bug 1257972. r=backout
MozReview-Commit-ID: JkHhNa7Wo5O
This commit is contained in:
parent
3881f31012
commit
b9a5d1bb08
8
browser/extensions/e10srollout/bootstrap.js
vendored
8
browser/extensions/e10srollout/bootstrap.js
vendored
@ -56,8 +56,7 @@ function defineCohort() {
|
||||
|
||||
let userOptedOut = optedOut();
|
||||
let userOptedIn = optedIn();
|
||||
let disqualified = (Services.appinfo.multiprocessBlockPolicy != 0) ||
|
||||
isThereAnActiveExperiment();
|
||||
let disqualified = (Services.appinfo.multiprocessBlockPolicy != 0);
|
||||
let testGroup = (getUserSample() < TEST_THRESHOLD[updateChannel]);
|
||||
|
||||
if (userOptedOut) {
|
||||
@ -114,8 +113,3 @@ function optedOut() {
|
||||
(Preferences.isSet(PREF_TOGGLE_E10S) &&
|
||||
Preferences.get(PREF_TOGGLE_E10S) == false);
|
||||
}
|
||||
|
||||
function isThereAnActiveExperiment() {
|
||||
let { Experiments } = Cu.import("resource:///modules/experiments/Experiments.jsm", {});
|
||||
return (Experiments.instance().getActiveExperimentID() !== null);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user