Chromium Code Reviews| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 }, | 148 }, |
| 149 | 149 |
| 150 "DisabledSchemes": { | 150 "DisabledSchemes": { |
| 151 "os": ["win", "linux", "mac", "chromeos"], | 151 "os": ["win", "linux", "mac", "chromeos"], |
| 152 "test_policy": { "DisabledSchemes": ["file"] }, | 152 "test_policy": { "DisabledSchemes": ["file"] }, |
| 153 "pref_mappings": [ | 153 "pref_mappings": [ |
| 154 { "pref": "policy.url_blacklist" } | 154 { "pref": "policy.url_blacklist" } |
| 155 ] | 155 ] |
| 156 }, | 156 }, |
| 157 | 157 |
| 158 "Http09OnNonDefaultPortsEnabled": { | |
|
pastarmovj
2016/08/31 12:02:11
You can as well leave the braces empty as nothing
mmenke
2016/08/31 14:30:28
Done (Yea, there's no pref, no UI surface area)
| |
| 159 "os": ["win", "linux", "mac", "chromeos"], | |
| 160 "test_policy": { "Http09OnNonDefaultPortsEnabled": true } | |
| 161 }, | |
| 162 | |
| 158 "JavascriptEnabled": { | 163 "JavascriptEnabled": { |
| 159 "os": ["win", "linux", "mac", "chromeos"], | 164 "os": ["win", "linux", "mac", "chromeos"], |
| 160 "test_policy": { "JavascriptEnabled": false }, | 165 "test_policy": { "JavascriptEnabled": false }, |
| 161 "pref_mappings": [ | 166 "pref_mappings": [ |
| 162 { "pref": "profile.managed_default_content_settings.javascript", | 167 { "pref": "profile.managed_default_content_settings.javascript", |
| 163 "indicator_selector": "[content-setting=javascript]", | 168 "indicator_selector": "[content-setting=javascript]", |
| 164 "indicator_tests": [ | 169 "indicator_tests": [ |
| 165 { "policy": { "JavascriptEnabled": false }, | 170 { "policy": { "JavascriptEnabled": false }, |
| 166 "value": "block"} | 171 "value": "block"} |
| 167 ] | 172 ] |
| (...skipping 2714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2882 | 2887 |
| 2883 "AdditionalLaunchParameters": { | 2888 "AdditionalLaunchParameters": { |
| 2884 }, | 2889 }, |
| 2885 | 2890 |
| 2886 "SuppressChromeFrameTurndownPrompt": { | 2891 "SuppressChromeFrameTurndownPrompt": { |
| 2887 }, | 2892 }, |
| 2888 | 2893 |
| 2889 "SkipMetadataCheck": { | 2894 "SkipMetadataCheck": { |
| 2890 } | 2895 } |
| 2891 } | 2896 } |
| OLD | NEW |