| OLD | NEW |
| 1 { | 1 { |
| 2 "-- Template --": { | 2 "-- Template --": { |
| 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", | 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", |
| 4 | 4 |
| 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], |
| 6 "official_only": "Whether this policy exists in official builds only. Defaul
ts to |false| if not specified.", | 6 "official_only": "Whether this policy exists in official builds only. Defaul
ts to |false| if not specified.", |
| 7 "can_be_recommended": "Whether a recommended value may be set for the policy
. Defaults to |false| if not specified.", | 7 "can_be_recommended": "Whether a recommended value may be set for the policy
. Defaults to |false| if not specified.", |
| 8 "test_policy": "A policy dictionary that should make the preferences affecte
d by this policy become policy-controlled. Usually just sets the current policy.
Defaults to an empty dictionary if not specified.", | 8 "test_policy": "A policy dictionary that should make the preferences affecte
d by this policy become policy-controlled. Usually just sets the current policy.
Defaults to an empty dictionary if not specified.", |
| 9 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", | 9 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", |
| 10 "pref_mappings": [ | 10 "pref_mappings": [ |
| (...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 }, | 1146 }, |
| 1147 { "policy": { "VideoCaptureAllowed": true, | 1147 { "policy": { "VideoCaptureAllowed": true, |
| 1148 "DefaultMediaStreamSetting": 3 }, | 1148 "DefaultMediaStreamSetting": 3 }, |
| 1149 "value": "ask" | 1149 "value": "ask" |
| 1150 } | 1150 } |
| 1151 ] | 1151 ] |
| 1152 } | 1152 } |
| 1153 ] | 1153 ] |
| 1154 }, | 1154 }, |
| 1155 | 1155 |
| 1156 "UserCookiesExceptionsUsage": { |
| 1157 "os": ["win", "linux", "mac", "chromeos"], |
| 1158 "test_policy": { "UserCookiesExceptionsUsage": 2 }, |
| 1159 "pref_mappings": [ |
| 1160 { "pref": "profile.user_exceptions_usage.cookies" } |
| 1161 ] |
| 1162 }, |
| 1163 |
| 1164 "UserPopupsExceptionsUsage": { |
| 1165 "os": ["win", "linux", "mac", "chromeos"], |
| 1166 "test_policy": { "UserPopupsExceptionsUsage": 2 }, |
| 1167 "pref_mappings": [ |
| 1168 { "pref": "profile.user_exceptions_usage.popups" } |
| 1169 ] |
| 1170 }, |
| 1171 |
| 1156 "AudioCaptureAllowed": { | 1172 "AudioCaptureAllowed": { |
| 1157 "os": ["win", "linux", "mac", "chromeos"], | 1173 "os": ["win", "linux", "mac", "chromeos"], |
| 1158 "test_policy": { "AudioCaptureAllowed": false }, | 1174 "test_policy": { "AudioCaptureAllowed": false }, |
| 1159 "pref_mappings": [ | 1175 "pref_mappings": [ |
| 1160 { "pref": "hardware.audio_capture_enabled", | 1176 { "pref": "hardware.audio_capture_enabled", |
| 1161 "indicator_selector": "[content-setting=media-stream-mic][value=block]", | 1177 "indicator_selector": "[content-setting=media-stream-mic][value=block]", |
| 1162 "indicator_tests": [ | 1178 "indicator_tests": [ |
| 1163 { "policy": { "AudioCaptureAllowed": false }, | 1179 { "policy": { "AudioCaptureAllowed": false }, |
| 1164 "value": "block" | 1180 "value": "block" |
| 1165 } | 1181 } |
| (...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2668 }, | 2684 }, |
| 2669 | 2685 |
| 2670 "ExtensionCacheSize": { | 2686 "ExtensionCacheSize": { |
| 2671 }, | 2687 }, |
| 2672 | 2688 |
| 2673 "DeviceLoginScreenDomainAutoComplete": { | 2689 "DeviceLoginScreenDomainAutoComplete": { |
| 2674 }, | 2690 }, |
| 2675 | 2691 |
| 2676 "AllowKioskAppControlChromeVersion": { | 2692 "AllowKioskAppControlChromeVersion": { |
| 2677 }, | 2693 }, |
| 2678 | 2694 |
| 2679 "LoginAuthenticationBehavior": { | 2695 "LoginAuthenticationBehavior": { |
| 2680 "os": ["chromeos"], | 2696 "os": ["chromeos"], |
| 2681 "test_policy": { "LoginAuthenticationBehavior": 1 }, | 2697 "test_policy": { "LoginAuthenticationBehavior": 1 }, |
| 2682 "pref_mappings": [ | 2698 "pref_mappings": [ |
| 2683 { "pref": "cros.device.login_authentication_behavior" } | 2699 { "pref": "cros.device.login_authentication_behavior" } |
| 2684 ] | 2700 ] |
| 2685 }, | 2701 }, |
| 2686 | 2702 |
| 2687 "UsbDetachableWhitelist": { | 2703 "UsbDetachableWhitelist": { |
| 2688 }, | 2704 }, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2726 | 2742 |
| 2727 "AdditionalLaunchParameters": { | 2743 "AdditionalLaunchParameters": { |
| 2728 }, | 2744 }, |
| 2729 | 2745 |
| 2730 "SuppressChromeFrameTurndownPrompt": { | 2746 "SuppressChromeFrameTurndownPrompt": { |
| 2731 }, | 2747 }, |
| 2732 | 2748 |
| 2733 "SkipMetadataCheck": { | 2749 "SkipMetadataCheck": { |
| 2734 } | 2750 } |
| 2735 } | 2751 } |
| OLD | NEW |