| 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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 "value": "allow"}, | 1087 "value": "allow"}, |
| 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": { | |
| 1098 "os": ["win", "linux", "mac", "chromeos", "android"], | |
| 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 }, | |
| 1114 | |
| 1115 "DefaultPluginsSetting": { | 1097 "DefaultPluginsSetting": { |
| 1116 "os": ["win", "linux", "mac", "chromeos"], | 1098 "os": ["win", "linux", "mac", "chromeos"], |
| 1117 "test_policy": { "DefaultPluginsSetting": 2 }, | 1099 "test_policy": { "DefaultPluginsSetting": 2 }, |
| 1118 "pref_mappings": [ | 1100 "pref_mappings": [ |
| 1119 { "pref": "profile.managed_default_content_settings.plugins", | 1101 { "pref": "profile.managed_default_content_settings.plugins", |
| 1120 "indicator_selector": "[content-setting=plugins]", | 1102 "indicator_selector": "[content-setting=plugins]", |
| 1121 "indicator_tests": [ | 1103 "indicator_tests": [ |
| 1122 { "policy": { "DefaultPluginsSetting": 1 }, | 1104 { "policy": { "DefaultPluginsSetting": 1 }, |
| 1123 "value": "allow"}, | 1105 "value": "allow"}, |
| 1124 { "policy": { "DefaultPluginsSetting": 2 }, | 1106 { "policy": { "DefaultPluginsSetting": 2 }, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 "indicator_selector": "[content-exception=javascript]", | 1419 "indicator_selector": "[content-exception=javascript]", |
| 1438 "indicator_tests": [ | 1420 "indicator_tests": [ |
| 1439 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } | 1421 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } |
| 1440 ] | 1422 ] |
| 1441 } | 1423 } |
| 1442 ], | 1424 ], |
| 1443 | 1425 |
| 1444 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1426 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 1445 }, | 1427 }, |
| 1446 | 1428 |
| 1447 "KeygenAllowedForUrls": { | |
| 1448 "os": ["win", "linux", "mac", "chromeos", "android"], | |
| 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 }, | |
| 1462 | |
| 1463 "KeygenBlockedForUrls": { | |
| 1464 "os": ["win", "linux", "mac", "chromeos", "android"], | |
| 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 }, | |
| 1478 | |
| 1479 "PluginsAllowedForUrls": { | 1429 "PluginsAllowedForUrls": { |
| 1480 "os": ["win", "linux", "mac", "chromeos"], | 1430 "os": ["win", "linux", "mac", "chromeos"], |
| 1481 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, | 1431 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, |
| 1482 "pref_mappings": [ | 1432 "pref_mappings": [ |
| 1483 { "pref": "profile.managed_plugins_allowed_for_urls", | 1433 { "pref": "profile.managed_plugins_allowed_for_urls", |
| 1484 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", | 1434 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", |
| 1485 "indicator_selector": "[content-exception=plugins]", | 1435 "indicator_selector": "[content-exception=plugins]", |
| 1486 "indicator_tests": [ | 1436 "indicator_tests": [ |
| 1487 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } } | 1437 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } } |
| 1488 ] | 1438 ] |
| (...skipping 1566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3055 | 3005 |
| 3056 "AdditionalLaunchParameters": { | 3006 "AdditionalLaunchParameters": { |
| 3057 }, | 3007 }, |
| 3058 | 3008 |
| 3059 "SuppressChromeFrameTurndownPrompt": { | 3009 "SuppressChromeFrameTurndownPrompt": { |
| 3060 }, | 3010 }, |
| 3061 | 3011 |
| 3062 "SkipMetadataCheck": { | 3012 "SkipMetadataCheck": { |
| 3063 } | 3013 } |
| 3064 } | 3014 } |
| OLD | NEW |