Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

Issue 2299703003: Re-land: Only allow HTTP/0.9 support on default ports. (Closed)
Patch Set: Fix test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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": {
159 },
160
158 "JavascriptEnabled": { 161 "JavascriptEnabled": {
159 "os": ["win", "linux", "mac", "chromeos"], 162 "os": ["win", "linux", "mac", "chromeos"],
160 "test_policy": { "JavascriptEnabled": false }, 163 "test_policy": { "JavascriptEnabled": false },
161 "pref_mappings": [ 164 "pref_mappings": [
162 { "pref": "profile.managed_default_content_settings.javascript", 165 { "pref": "profile.managed_default_content_settings.javascript",
163 "indicator_selector": "[content-setting=javascript]", 166 "indicator_selector": "[content-setting=javascript]",
164 "indicator_tests": [ 167 "indicator_tests": [
165 { "policy": { "JavascriptEnabled": false }, 168 { "policy": { "JavascriptEnabled": false },
166 "value": "block"} 169 "value": "block"}
167 ] 170 ]
(...skipping 2714 matching lines...) Expand 10 before | Expand all | Expand 10 after
2882 2885
2883 "AdditionalLaunchParameters": { 2886 "AdditionalLaunchParameters": {
2884 }, 2887 },
2885 2888
2886 "SuppressChromeFrameTurndownPrompt": { 2889 "SuppressChromeFrameTurndownPrompt": {
2887 }, 2890 },
2888 2891
2889 "SkipMetadataCheck": { 2892 "SkipMetadataCheck": {
2890 } 2893 }
2891 } 2894 }
OLDNEW
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698