start shield study AFTER SDK starts the webext

This commit is contained in:
groovecoder
2017-05-02 11:42:14 -05:00
parent 54c598e22e
commit b0c53063d2
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -19,7 +19,9 @@ const studyConfig = {
class ContainersStudy extends shield.Study {
isEligible () {
console.log("ContainersStudy.isEligible()");
// If the user already has testpilot-containers extension, they are in the
// Test Pilot experiment, so exclude them.
return super.isEligible();
}
whenEligible () {
@@ -42,4 +44,4 @@ const thisStudy = new ContainersStudy(studyConfig);
unload((reason) => thisStudy.shutdown(reason));
thisStudy.startup(self.loadReason);
exports.study = thisStudy;