Bug 1357975 - Set the pref to enable dom.storageManager in helpers.js, r=janv

This commit is contained in:
Shawn Huang 2017-04-20 17:18:03 +08:00
parent 939147b2d1
commit e858947e71
3 changed files with 15 additions and 6 deletions

View File

@ -40,6 +40,19 @@ function* testHarnessSteps()
yield undefined;
info("Pushing preferences");
SpecialPowers.pushPrefEnv(
{
"set": [
["dom.storageManager.enabled", true],
["dom.storageManager.prompt.testing", true],
]
},
nextTestHarnessStep
);
yield undefined;
info("Clearing old databases");
clearAllDatabases(nextTestHarnessStep);

View File

@ -4,9 +4,7 @@ var testGenerator = testSteps();
function* testSteps()
{
SpecialPowers.pushPrefEnv({
"set": [["dom.storageManager.enabled", true],
["dom.storageManager.prompt.testing", true],
["dom.storageManager.prompt.testing.allow", true]]
"set": [["dom.storageManager.prompt.testing.allow", true]]
}, continueToNextStep);
yield undefined;

View File

@ -4,9 +4,7 @@ var testGenerator = testSteps();
function* testSteps()
{
SpecialPowers.pushPrefEnv({
"set": [["dom.storageManager.enabled", true],
["dom.storageManager.prompt.testing", true],
["dom.storageManager.prompt.testing.allow", false]]
"set": [["dom.storageManager.prompt.testing.allow", false]]
}, continueToNextStep);
yield undefined;