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

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

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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", "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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 "value": "allow"}, 1080 "value": "allow"},
1081 { "policy": { "DefaultJavaScriptSetting": 2 }, 1081 { "policy": { "DefaultJavaScriptSetting": 2 },
1082 "value": "block"} 1082 "value": "block"}
1083 ] 1083 ]
1084 } 1084 }
1085 ], 1085 ],
1086 1086
1087 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1087 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1088 }, 1088 },
1089 1089
1090 "DefaultKeygenSetting": {
1091 "os": ["win", "linux", "mac", "chromeos", "android"],
1092 "test_policy": { "DefaultKeygenSetting": 2 },
1093 "pref_mappings": [
1094 { "pref": "profile.managed_default_content_settings.keygen",
1095 "indicator_selector": "[content-setting=keygen]",
1096 "indicator_tests": [
1097 { "policy": { "DefaultKeygenSetting": 1 },
1098 "value": "allow"},
1099 { "policy": { "DefaultKeygenSetting": 2 },
1100 "value": "block"}
1101 ]
1102 }
1103 ],
1104
1105 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1106 },
1107
1108 "DefaultPluginsSetting": { 1090 "DefaultPluginsSetting": {
1109 "os": ["win", "linux", "mac", "chromeos"], 1091 "os": ["win", "linux", "mac", "chromeos"],
1110 "test_policy": { "DefaultPluginsSetting": 2 }, 1092 "test_policy": { "DefaultPluginsSetting": 2 },
1111 "pref_mappings": [ 1093 "pref_mappings": [
1112 { "pref": "profile.managed_default_content_settings.plugins", 1094 { "pref": "profile.managed_default_content_settings.plugins",
1113 "indicator_selector": "[content-setting=plugins]", 1095 "indicator_selector": "[content-setting=plugins]",
1114 "indicator_tests": [ 1096 "indicator_tests": [
1115 { "policy": { "DefaultPluginsSetting": 1 }, 1097 { "policy": { "DefaultPluginsSetting": 1 },
1116 "value": "allow"}, 1098 "value": "allow"},
1117 { "policy": { "DefaultPluginsSetting": 2 }, 1099 { "policy": { "DefaultPluginsSetting": 2 },
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 "indicator_selector": "[content-exception=javascript]", 1412 "indicator_selector": "[content-exception=javascript]",
1431 "indicator_tests": [ 1413 "indicator_tests": [
1432 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } 1414 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1433 ] 1415 ]
1434 } 1416 }
1435 ], 1417 ],
1436 1418
1437 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1419 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1438 }, 1420 },
1439 1421
1440 "KeygenAllowedForUrls": {
1441 "os": ["win", "linux", "mac", "chromeos", "android"],
1442 "test_policy": { "KeygenAllowedForUrls": ["[*.]google.com"] },
1443 "pref_mappings": [
1444 { "pref": "profile.managed_keygen_allowed_for_urls",
1445 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=keygen]').click();",
1446 "indicator_selector": "[content-exception=keygen]",
1447 "indicator_tests": [
1448 { "policy": { "KeygenAllowedForUrls": ["[*.]google.com"] } }
1449 ]
1450 }
1451 ],
1452
1453 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1454 },
1455
1456 "KeygenBlockedForUrls": {
1457 "os": ["win", "linux", "mac", "chromeos", "android"],
1458 "test_policy": { "KeygenBlockedForUrls": ["[*.]google.com"] },
1459 "pref_mappings": [
1460 { "pref": "profile.managed_keygen_blocked_for_urls",
1461 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=keygen]').click();",
1462 "indicator_selector": "[content-exception=keygen]",
1463 "indicator_tests": [
1464 { "policy": { "KeygenBlockedForUrls": ["[*.]google.com"] } }
1465 ]
1466 }
1467 ],
1468
1469 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1470 },
1471
1472 "PluginsAllowedForUrls": { 1422 "PluginsAllowedForUrls": {
1473 "os": ["win", "linux", "mac", "chromeos"], 1423 "os": ["win", "linux", "mac", "chromeos"],
1474 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, 1424 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1475 "pref_mappings": [ 1425 "pref_mappings": [
1476 { "pref": "profile.managed_plugins_allowed_for_urls", 1426 { "pref": "profile.managed_plugins_allowed_for_urls",
1477 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();", 1427 "indicator_test_setup_js": "document.querySelector('button.exceptions-li st-button[contentType=plugins]').click();",
1478 "indicator_selector": "[content-exception=plugins]", 1428 "indicator_selector": "[content-exception=plugins]",
1479 "indicator_tests": [ 1429 "indicator_tests": [
1480 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } } 1430 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1481 ] 1431 ]
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
3035 2985
3036 "AdditionalLaunchParameters": { 2986 "AdditionalLaunchParameters": {
3037 }, 2987 },
3038 2988
3039 "SuppressChromeFrameTurndownPrompt": { 2989 "SuppressChromeFrameTurndownPrompt": {
3040 }, 2990 },
3041 2991
3042 "SkipMetadataCheck": { 2992 "SkipMetadataCheck": {
3043 } 2993 }
3044 } 2994 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698