multi-account-containers/study.js
2017-05-17 11:34:03 -05:00

35 lines
651 B
JavaScript

const self = require("sdk/self");
const shield = require("./lib/shield/index");
const { when: unload } = require("sdk/system/unload");
const studyConfig = {
name: self.addonId,
days: 28,
surveyUrls: {
},
variations: {
"control": () => {},
"privacyOnboarding": () => {},
"onlineAccountsOnboarding": () => {},
"tabManagementOnboarding": () => {}
}
};
class ContainersStudy extends shield.Study {
isEligible () {
}
whenEligible () {
}
whenInstalled () {
}
cleanup(reason) {
console.log(reason);
}
}
const thisStudy = new ContainersStudy(studyConfig);
unload((reason) => thisStudy.shutdown(reason));