content |
|
|
docs |
|
|
helpers |
|
|
jar.mn |
|
753 |
moz.build |
|
579 |
Policies.sys.mjs |
============================
= POLICIES IMPLEMENTATIONS =
============================
The Policies object below is where the implementation for each policy
happens. An object for each policy should be defined, containing
callback functions that will be called by the engine.
See the _callbacks object in EnterprisePolicies.js for the list of
possible callbacks and an explanation of each.
Each callback will be called with two parameters:
- manager
This is the EnterprisePoliciesManager singleton object from
EnterprisePolicies.js
- param
The parameter defined for this policy in policies-schema.json.
It will be different for each policy. It could be a boolean,
a string, an array or a complex object. All parameters have
been validated according to the schema, and no unknown
properties will be present on them.
The callbacks will be bound to their parent policy object.
|
95155 |
schemas |
|
|
tests |
|
|