Firefox/EnterprisePolicies/Testing
This page documents how to test the Enterprise Policies Manager
Prefs to enable
Please set these two prefs to test this feature:
browser.policies.enabled = true devtools.chrome.enabled = true
Note: the browser.policies.enabled
pref doesn't exist and will need to be created (as a Boolean pref).
Adding the policies.json file
To test this feature (once enabled), you'll need to create a policies.json file (example files are given below), and to put it in a specific location in the installation directory of Firefox (not the profile directory).
Since this location varies by platform and by install type (local build, try build, installed with the installer, etc.), the easier way to figure out the location is by running the following code Snippet in the Browser Console:
Services.dirsvc.get("XREAppDist", Ci.nsIFile).path
Per-platform examples
(these may be different depending on how you installed the try build, so I recommend running the snippet above). These are for illustration purposes only.
- Mac: /Applications/FirefoxNightly.app/Contents/Resources/distribution
- Windows: C:\Program Files (x86)\Mozilla Firefox\distribution