зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 88a9c30783a6 (bug 1491046) for fetch.any.serviceworker.html failures CLOSED TREE
This commit is contained in:
Родитель
18ad7ae673
Коммит
b333efcbc3
|
@ -751,14 +751,6 @@ var Policies = {
|
|||
},
|
||||
},
|
||||
|
||||
"Preferences": {
|
||||
onBeforeAddons(manager, param) {
|
||||
for (let preference in param) {
|
||||
setAndLockPref(preference, param[preference]);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"Proxy": {
|
||||
onBeforeAddons(manager, param) {
|
||||
if (param.Locked) {
|
||||
|
|
|
@ -551,21 +551,6 @@
|
|||
}
|
||||
},
|
||||
|
||||
"Preferences": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"network.IDN_show_punycode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"browser.fixup.dns_first_for_single_words": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"browser.cache.disk.parent_directory": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"Proxy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -58,7 +58,6 @@ skip-if = (verify && debug && (os == 'mac'))
|
|||
[browser_policy_override_postupdatepage.js]
|
||||
[browser_policy_permissions.js]
|
||||
[browser_policy_proxy.js]
|
||||
[browser_policy_preferences.js]
|
||||
[browser_policy_search_engine.js]
|
||||
[browser_policy_searchbar.js]
|
||||
[browser_policy_set_homepage.js]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* This test is not intended to test all preferences that
|
||||
can be set with Preferences, just a subset to verify
|
||||
the overall functionality */
|
||||
|
||||
"use strict";
|
||||
|
||||
add_task(async function test_policy_preferences() {
|
||||
await setupPolicyEngineWithJson({
|
||||
"policies": {
|
||||
"Preferences": {
|
||||
"network.IDN_show_punycode": true,
|
||||
"app.update.log": true,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
checkLockedPref("network.IDN_show_punycode", true);
|
||||
is(Services.prefs.getBoolPref("app.update.log"), false, "Disallowed pref was not been changed");
|
||||
});
|
|
@ -111,8 +111,6 @@ policy-Permissions = Configure permissions for camera, microphone, location and
|
|||
|
||||
policy-PopupBlocking = Allow certain websites to display popups by default.
|
||||
|
||||
policy-Preferences = Set and lock the value for a subset of preferences.
|
||||
|
||||
policy-Proxy = Configure proxy settings.
|
||||
|
||||
policy-RequestedLocales = Set the list of requested locales for the application in order of preference.
|
||||
|
|
Загрузка…
Ссылка в новой задаче