Bug 1445318 - Remove storage: "persistent" from AddonStudies.jsm. r=mythmon
This option is deprecated and we would like to remove it soon.
Since AddonStudies.jsm runs with system privileges, it is getting
the same storage type ("persistent"), no matter the storage option.
I verified this through manual testing.
MozReview-Commit-ID: 79MuZ7OU1Ti
--- a/toolkit/components/normandy/lib/AddonStudies.jsm
+++ b/toolkit/components/normandy/lib/AddonStudies.jsm
@@ -43,17 +43,16 @@ ChromeUtils.defineModuleGetter(this, "Te
Cu.importGlobalProperties(["fetch"]); /* globals fetch */
var EXPORTED_SYMBOLS = ["AddonStudies"];
const DB_NAME = "shield";
const STORE_NAME = "addon-studies";
const DB_OPTIONS = {
version: 1,
- storage: "persistent",
};
const STUDY_ENDED_TOPIC = "shield-study-ended";
const log = LogManager.getLogger("addon-studies");
/**
* Create a new connection to the database.
*/
function openDatabase() {