зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1217152 - disable insecure password warning and enable autofill on HTTP pages for password manager tests using pwmgr_common.js. r=MattN
MozReview-Commit-ID: JfjTNOcKwLQ --HG-- extra : rebase_source : 5d1410be854101cb57056c9456165636925de4ac
This commit is contained in:
Родитель
2a48e5d3f5
Коммит
09793d3496
|
@ -436,7 +436,10 @@ if (this.addMessageListener) {
|
|||
});
|
||||
} else {
|
||||
// Code to only run in the mochitest pages (not in the chrome script).
|
||||
SpecialPowers.pushPrefEnv({"set": [["signon.rememberSignons", true]]});
|
||||
SpecialPowers.pushPrefEnv({"set": [["signon.rememberSignons", true],
|
||||
["signon.autofillForms.http", true],
|
||||
["security.insecure_field_warning.contextual.enabled", false]]
|
||||
});
|
||||
SimpleTest.registerCleanupFunction(() => {
|
||||
SpecialPowers.popPrefEnv();
|
||||
runInParent(function cleanupParent() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче