mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 1773771 - Add GoToIntranetSiteForSingleWordEntryInAddressBar enterprise policy r=mkaply,flod
Differential Revision: https://phabricator.services.mozilla.com/D148952
This commit is contained in:
parent
6abc655018
commit
ee7e4a5455
@ -1300,6 +1300,12 @@ var Policies = {
|
||||
},
|
||||
},
|
||||
|
||||
GoToIntranetSiteForSingleWordEntryInAddressBar: {
|
||||
onBeforeAddons(manager, param) {
|
||||
setAndLockPref("browser.fixup.dns_first_for_single_words", param);
|
||||
},
|
||||
},
|
||||
|
||||
Handlers: {
|
||||
onBeforeAddons(manager, param) {
|
||||
if ("mimeTypes" in param) {
|
||||
|
@ -627,6 +627,10 @@
|
||||
}
|
||||
},
|
||||
|
||||
"GoToIntranetSiteForSingleWordEntryInAddressBar": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"Handlers": {
|
||||
"type": ["object", "JSON"],
|
||||
"patternProperties": {
|
||||
|
@ -104,6 +104,16 @@ const POLICIES_TESTS = [
|
||||
},
|
||||
},
|
||||
|
||||
// POLICY: GoToIntranetSiteForSingleWordEntryInAddressBar
|
||||
{
|
||||
policies: {
|
||||
GoToIntranetSiteForSingleWordEntryInAddressBar: true,
|
||||
},
|
||||
lockedPrefs: {
|
||||
"browser.fixup.dns_first_for_single_words": true,
|
||||
},
|
||||
},
|
||||
|
||||
// POLICY: OverrideFirstRunPage
|
||||
{
|
||||
policies: { OverrideFirstRunPage: "https://www.example.com/" },
|
||||
|
@ -119,6 +119,8 @@ policy-FirefoxHome = Configure Firefox Home.
|
||||
|
||||
policy-FlashPlugin = Allow or deny usage of the Flash plugin.
|
||||
|
||||
policy-GoToIntranetSiteForSingleWordEntryInAddressBar = Force direct intranet site navigation instead of searching when typing single word entries in the address bar.
|
||||
|
||||
policy-Handlers = Configure default application handlers.
|
||||
|
||||
policy-HardwareAcceleration = If false, turn off hardware acceleration.
|
||||
|
Loading…
x
Reference in New Issue
Block a user