Bug 1744362 - Part 9: update Enterprise policies schema r=mkaply,fluent-reviewers,flod

Differential Revision: https://phabricator.services.mozilla.com/D164491
This commit is contained in:
Greg Stoll 2022-12-27 12:59:10 +00:00
parent 59367775f5
commit a42bf7f1a7
3 changed files with 14 additions and 0 deletions

View File

@ -841,6 +841,14 @@ export var Policies = {
},
},
DisableThirdPartyModuleBlocking: {
onBeforeUIStartup(manager, param) {
if (param) {
manager.disallowFeature("thirdPartyModuleBlocking");
}
},
},
DisplayBookmarksToolbar: {
onBeforeUIStartup(manager, param) {
let visibility;

View File

@ -390,6 +390,10 @@
"type": "boolean"
},
"DisableThirdPartyModuleBlocking": {
"type": "boolean"
},
"DisplayBookmarksToolbar": {
"type": ["boolean", "string"],
"enum": ["always", "never", "newtab"]

View File

@ -88,6 +88,8 @@ policy-DisableSystemAddonUpdate = Prevent the browser from installing and updati
policy-DisableTelemetry = Turn off Telemetry.
policy-DisableThirdPartyModuleBlocking = Prevent the user from blocking third-party modules that get injected into the { -brand-short-name } process.
policy-DisplayBookmarksToolbar = Display the Bookmarks Toolbar by default.
policy-DisplayMenuBar = Display the Menu Bar by default.