зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523810
- Add a policy for disabling captive portal support. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D18007 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
12805e6a76
Коммит
20568277cc
|
@ -133,6 +133,12 @@ var Policies = {
|
|||
},
|
||||
},
|
||||
|
||||
"CaptivePortal": {
|
||||
onBeforeAddons(manager, param) {
|
||||
setAndLockPref("network.captive-portal-service.enabled", param);
|
||||
},
|
||||
},
|
||||
|
||||
"Certificates": {
|
||||
onBeforeAddons(manager, param) {
|
||||
if ("ImportEnterpriseRoots" in param) {
|
||||
|
|
|
@ -88,6 +88,10 @@
|
|||
}
|
||||
},
|
||||
|
||||
"CaptivePortal": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"Certificates": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -224,6 +224,16 @@ const POLICIES_TESTS = [
|
|||
"security.tls.version.max": 4,
|
||||
},
|
||||
},
|
||||
|
||||
// POLICY: CaptivePortal
|
||||
{
|
||||
policies: {
|
||||
"CaptivePortal": false,
|
||||
},
|
||||
lockedPrefs: {
|
||||
"network.captive-portal-service.enabled": false,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
add_task(async function test_policy_remember_passwords() {
|
||||
|
|
|
@ -23,6 +23,8 @@ policy-BlockAboutSupport = Block access to the about:support page.
|
|||
|
||||
policy-Bookmarks = Create bookmarks in the Bookmarks toolbar, Bookmarks menu, or a specified folder inside them.
|
||||
|
||||
policy-CaptivePortal = Enable or disable captive portal support.
|
||||
|
||||
policy-CertificatesDescription = Add certificates or use built-in certificates.
|
||||
|
||||
policy-Cookies = Allow or deny websites to set cookies.
|
||||
|
|
Загрузка…
Ссылка в новой задаче