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

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

Issue 309553011: Enable policy support for registering protocol handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Issue_116119_pre
Patch Set: Created 6 years, 6 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 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 "WPADQuickCheckEnabled": { 1560 "WPADQuickCheckEnabled": {
1561 "os": ["win", "linux", "mac", "chromeos"], 1561 "os": ["win", "linux", "mac", "chromeos"],
1562 "test_policy": { "WPADQuickCheckEnabled": true }, 1562 "test_policy": { "WPADQuickCheckEnabled": true },
1563 "pref_mappings": [ 1563 "pref_mappings": [
1564 { "pref": "proxy.quick_check_enabled", 1564 { "pref": "proxy.quick_check_enabled",
1565 "local_state": true 1565 "local_state": true
1566 } 1566 }
1567 ] 1567 ]
1568 }, 1568 },
1569 1569
1570 "RegisteredProtocolHandlers": {
1571 "os": ["win", "linux", "mac", "chromeos"],
1572 "can_be_recommended": true,
1573 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": " http://test.com/%s", "default": "true"} },
1574 "pref_mappings": [
1575 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1576 "check_for_mandatory" : false
bartfab (slow) 2014/06/03 11:58:21 1: Can this policy only be set as recommended, not
kaliamoorthi 2014/06/04 18:01:58 This is documented in policy_templates.json. Space
1577 }
1578 ]
1579 },
1580
1581 "IgnoredProtocolHandlers": {
1582 "os": ["win", "linux", "mac", "chromeos"],
1583 "can_be_recommended": true,
1584 "test_policy": { "IgnoredProtocolHandlers": {"protocol": "test1", "url": "ht tp://test1.com/%s"} },
1585 "pref_mappings": [
1586 { "pref": "custom_handlers.policy.ignored_protocol_handlers",
1587 "check_for_mandatory" : false
bartfab (slow) 2014/06/03 11:58:21 1: Can this policy only be set as recommended, not
kaliamoorthi 2014/06/04 18:01:58 This is documented in policy_templates.json. Space
1588 }
1589 ]
1590 },
1591
1570 "HideWebStoreIcon": { 1592 "HideWebStoreIcon": {
1571 "os": ["win", "linux", "mac", "chromeos"], 1593 "os": ["win", "linux", "mac", "chromeos"],
1572 "test_policy": { "HideWebStoreIcon": true }, 1594 "test_policy": { "HideWebStoreIcon": true },
1573 "pref_mappings": [ 1595 "pref_mappings": [
1574 { "pref": "hide_web_store_icon" } 1596 { "pref": "hide_web_store_icon" }
1575 ] 1597 ]
1576 }, 1598 },
1577 1599
1578 "VariationsRestrictParameter": { 1600 "VariationsRestrictParameter": {
1579 "test_policy": { "VariationsRestrictParameter": "restricted" }, 1601 "test_policy": { "VariationsRestrictParameter": "restricted" },
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
2294 2316
2295 "AdditionalLaunchParameters": { 2317 "AdditionalLaunchParameters": {
2296 }, 2318 },
2297 2319
2298 "SuppressChromeFrameTurndownPrompt": { 2320 "SuppressChromeFrameTurndownPrompt": {
2299 }, 2321 },
2300 2322
2301 "SkipMetadataCheck": { 2323 "SkipMetadataCheck": {
2302 } 2324 }
2303 } 2325 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698