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", "android", "Defaults to empty if not specifie
d."], | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie
d."], |
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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 { "policy": { "DefaultJavaScriptSetting": 2 }, | 1088 { "policy": { "DefaultJavaScriptSetting": 2 }, |
1089 "value": "block"} | 1089 "value": "block"} |
1090 ] | 1090 ] |
1091 } | 1091 } |
1092 ], | 1092 ], |
1093 | 1093 |
1094 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1094 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
1095 }, | 1095 }, |
1096 | 1096 |
1097 "DefaultKeygenSetting": { | 1097 "DefaultKeygenSetting": { |
1098 "os": ["win", "linux", "mac", "chromeos", "android"], | 1098 "note": "This policy is retired, see https://crbug.com/568184." |
1099 "test_policy": { "DefaultKeygenSetting": 2 }, | |
1100 "pref_mappings": [ | |
1101 { "pref": "profile.managed_default_content_settings.keygen", | |
1102 "indicator_selector": "[content-setting=keygen]", | |
1103 "indicator_tests": [ | |
1104 { "policy": { "DefaultKeygenSetting": 1 }, | |
1105 "value": "allow"}, | |
1106 { "policy": { "DefaultKeygenSetting": 2 }, | |
1107 "value": "block"} | |
1108 ] | |
1109 } | |
1110 ], | |
1111 | |
1112 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | |
1113 }, | 1099 }, |
1114 | 1100 |
1115 "DefaultPluginsSetting": { | 1101 "DefaultPluginsSetting": { |
1116 "os": ["win", "linux", "mac", "chromeos"], | 1102 "os": ["win", "linux", "mac", "chromeos"], |
1117 "test_policy": { "DefaultPluginsSetting": 2 }, | 1103 "test_policy": { "DefaultPluginsSetting": 2 }, |
1118 "pref_mappings": [ | 1104 "pref_mappings": [ |
1119 { "pref": "profile.managed_default_content_settings.plugins", | 1105 { "pref": "profile.managed_default_content_settings.plugins", |
1120 "indicator_selector": "[content-setting=plugins]", | 1106 "indicator_selector": "[content-setting=plugins]", |
1121 "indicator_tests": [ | 1107 "indicator_tests": [ |
1122 { "policy": { "DefaultPluginsSetting": 1 }, | 1108 { "policy": { "DefaultPluginsSetting": 1 }, |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 "indicator_tests": [ | 1424 "indicator_tests": [ |
1439 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } | 1425 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } |
1440 ] | 1426 ] |
1441 } | 1427 } |
1442 ], | 1428 ], |
1443 | 1429 |
1444 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1430 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
1445 }, | 1431 }, |
1446 | 1432 |
1447 "KeygenAllowedForUrls": { | 1433 "KeygenAllowedForUrls": { |
1448 "os": ["win", "linux", "mac", "chromeos", "android"], | 1434 "note": "This policy is retired, see https://crbug.com/568184." |
1449 "test_policy": { "KeygenAllowedForUrls": ["[*.]google.com"] }, | |
1450 "pref_mappings": [ | |
1451 { "pref": "profile.managed_keygen_allowed_for_urls", | |
1452 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=keygen]').click();", | |
1453 "indicator_selector": "[content-exception=keygen]", | |
1454 "indicator_tests": [ | |
1455 { "policy": { "KeygenAllowedForUrls": ["[*.]google.com"] } } | |
1456 ] | |
1457 } | |
1458 ], | |
1459 | |
1460 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | |
1461 }, | 1435 }, |
1462 | 1436 |
1463 "KeygenBlockedForUrls": { | 1437 "KeygenBlockedForUrls": { |
1464 "os": ["win", "linux", "mac", "chromeos", "android"], | 1438 "note": "This policy is retired, see https://crbug.com/568184." |
1465 "test_policy": { "KeygenBlockedForUrls": ["[*.]google.com"] }, | |
1466 "pref_mappings": [ | |
1467 { "pref": "profile.managed_keygen_blocked_for_urls", | |
1468 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=keygen]').click();", | |
1469 "indicator_selector": "[content-exception=keygen]", | |
1470 "indicator_tests": [ | |
1471 { "policy": { "KeygenBlockedForUrls": ["[*.]google.com"] } } | |
1472 ] | |
1473 } | |
1474 ], | |
1475 | |
1476 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | |
1477 }, | 1439 }, |
1478 | 1440 |
1479 "PluginsAllowedForUrls": { | 1441 "PluginsAllowedForUrls": { |
1480 "os": ["win", "linux", "mac", "chromeos"], | 1442 "os": ["win", "linux", "mac", "chromeos"], |
1481 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, | 1443 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, |
1482 "pref_mappings": [ | 1444 "pref_mappings": [ |
1483 { "pref": "profile.managed_plugins_allowed_for_urls", | 1445 { "pref": "profile.managed_plugins_allowed_for_urls", |
1484 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", | 1446 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", |
1485 "indicator_selector": "[content-exception=plugins]", | 1447 "indicator_selector": "[content-exception=plugins]", |
1486 "indicator_tests": [ | 1448 "indicator_tests": [ |
(...skipping 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3055 | 3017 |
3056 "AdditionalLaunchParameters": { | 3018 "AdditionalLaunchParameters": { |
3057 }, | 3019 }, |
3058 | 3020 |
3059 "SuppressChromeFrameTurndownPrompt": { | 3021 "SuppressChromeFrameTurndownPrompt": { |
3060 }, | 3022 }, |
3061 | 3023 |
3062 "SkipMetadataCheck": { | 3024 "SkipMetadataCheck": { |
3063 } | 3025 } |
3064 } | 3026 } |
OLD | NEW |