зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7bcb681545cb (bug 1653584) for failures on test_sorted_alphabetically.js. CLOSED TREE
This commit is contained in:
Родитель
5676d0c1ff
Коммит
e625ac5a98
|
@ -1248,6 +1248,16 @@ var Policies = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
MasterPassword: {
|
||||||
|
onAllWindowsRestored(manager, param) {
|
||||||
|
if (param) {
|
||||||
|
manager.disallowFeature("removeMasterPassword");
|
||||||
|
} else {
|
||||||
|
manager.disallowFeature("createMasterPassword");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
NetworkPrediction: {
|
NetworkPrediction: {
|
||||||
onBeforeAddons(manager, param) {
|
onBeforeAddons(manager, param) {
|
||||||
setAndLockPref("network.dns.disablePrefetch", !param);
|
setAndLockPref("network.dns.disablePrefetch", !param);
|
||||||
|
@ -1429,16 +1439,6 @@ var Policies = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
PrimaryPassword: {
|
|
||||||
onAllWindowsRestored(manager, param) {
|
|
||||||
if (param) {
|
|
||||||
manager.disallowFeature("removeMasterPassword");
|
|
||||||
} else {
|
|
||||||
manager.disallowFeature("createMasterPassword");
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
PromptForDownloadLocation: {
|
PromptForDownloadLocation: {
|
||||||
onBeforeAddons(manager, param) {
|
onBeforeAddons(manager, param) {
|
||||||
setAndLockPref("browser.download.useDownloadDir", !param);
|
setAndLockPref("browser.download.useDownloadDir", !param);
|
||||||
|
|
|
@ -290,7 +290,6 @@ function generateDocumentation() {
|
||||||
Certificates: "CertificatesDescription",
|
Certificates: "CertificatesDescription",
|
||||||
SanitizeOnShutdown: "SanitizeOnShutdown2",
|
SanitizeOnShutdown: "SanitizeOnShutdown2",
|
||||||
Permissions: "Permissions2",
|
Permissions: "Permissions2",
|
||||||
PrimaryPassword: "MasterPassword",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
for (let policyName in schema.properties) {
|
for (let policyName in schema.properties) {
|
||||||
|
|
|
@ -645,6 +645,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"MasterPassword": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
|
||||||
"NetworkPrediction": {
|
"NetworkPrediction": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
@ -852,10 +856,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"PrimaryPassword": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
|
|
||||||
"PopupBlocking": {
|
"PopupBlocking": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -11,7 +11,7 @@ let { LoginTestUtils } = ChromeUtils.import(
|
||||||
add_task(async function test_policy_masterpassword_set() {
|
add_task(async function test_policy_masterpassword_set() {
|
||||||
await setupPolicyEngineWithJson({
|
await setupPolicyEngineWithJson({
|
||||||
policies: {
|
policies: {
|
||||||
PrimaryPassword: true,
|
MasterPassword: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ add_task(async function test_policy_masterpassword_set() {
|
||||||
add_task(async function test_policy_nochangemp() {
|
add_task(async function test_policy_nochangemp() {
|
||||||
await setupPolicyEngineWithJson({
|
await setupPolicyEngineWithJson({
|
||||||
policies: {
|
policies: {
|
||||||
PrimaryPassword: true,
|
MasterPassword: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ add_task(async function test_policy_nochangemp() {
|
||||||
add_task(async function test_policy_admin() {
|
add_task(async function test_policy_admin() {
|
||||||
await setupPolicyEngineWithJson({
|
await setupPolicyEngineWithJson({
|
||||||
policies: {
|
policies: {
|
||||||
PrimaryPassword: true,
|
MasterPassword: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ ChromeUtils.defineModuleGetter(
|
||||||
add_task(async function test_policy_admin() {
|
add_task(async function test_policy_admin() {
|
||||||
await setupPolicyEngineWithJson({
|
await setupPolicyEngineWithJson({
|
||||||
policies: {
|
policies: {
|
||||||
PrimaryPassword: true,
|
MasterPassword: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Services.scriptloader.loadSubScript(
|
||||||
add_task(async function test_policy_masterpassword_doorhanger() {
|
add_task(async function test_policy_masterpassword_doorhanger() {
|
||||||
await setupPolicyEngineWithJson({
|
await setupPolicyEngineWithJson({
|
||||||
policies: {
|
policies: {
|
||||||
PrimaryPassword: true,
|
MasterPassword: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче