| OLD | NEW |
| 1 { | 1 { |
| 2 "-- Template --": { | 2 "-- Template --": { |
| 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below.", | 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below.", |
| 4 | 4 |
| 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos"], | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos"], |
| 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 trigger the managed banner i
n the settings UI. Usually just sets the current policy.", | 8 "test_policy": "A policy dictionary that should trigger the managed banner i
n the settings UI. Usually just sets the current policy.", |
| 9 "settings_pages": ["A list of settings pages where the banner should be visi
ble when this policy is set."], | 9 "settings_pages": ["A list of settings pages where the banner should be visi
ble when this policy is set."], |
| 10 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", | 10 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 "os": ["win", "linux", "mac", "chromeos"], | 680 "os": ["win", "linux", "mac", "chromeos"], |
| 681 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, | 681 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, |
| 682 "settings_pages": [], | 682 "settings_pages": [], |
| 683 "pref_mappings": [ | 683 "pref_mappings": [ |
| 684 { "pref": "extensions.allowed_install_sites" } | 684 { "pref": "extensions.allowed_install_sites" } |
| 685 ] | 685 ] |
| 686 }, | 686 }, |
| 687 | 687 |
| 688 "ShowHomeButton": { | 688 "ShowHomeButton": { |
| 689 "os": ["win", "linux", "mac", "chromeos"], | 689 "os": ["win", "linux", "mac", "chromeos"], |
| 690 "can_be_recommended": true, |
| 690 "test_policy": { "ShowHomeButton": true }, | 691 "test_policy": { "ShowHomeButton": true }, |
| 691 "settings_pages": ["chrome://settings-frame"], | 692 "settings_pages": ["chrome://settings-frame"], |
| 692 "pref_mappings": [ | 693 "pref_mappings": [ |
| 693 { "pref": "browser.show_home_button" } | 694 { "pref": "browser.show_home_button", |
| 695 "indicator_tests": [ |
| 696 { "policy": { "ShowHomeButton": true } } |
| 697 ] |
| 698 } |
| 694 ] | 699 ] |
| 695 }, | 700 }, |
| 696 | 701 |
| 697 "DeveloperToolsDisabled": { | 702 "DeveloperToolsDisabled": { |
| 698 "os": ["win", "linux", "mac", "chromeos"], | 703 "os": ["win", "linux", "mac", "chromeos"], |
| 699 "test_policy": { "DeveloperToolsDisabled": true }, | 704 "test_policy": { "DeveloperToolsDisabled": true }, |
| 700 "settings_pages": [], | 705 "settings_pages": [], |
| 701 "pref_mappings": [ | 706 "pref_mappings": [ |
| 702 { "pref": "devtools.disabled" } | 707 { "pref": "devtools.disabled" } |
| 703 ] | 708 ] |
| 704 }, | 709 }, |
| 705 | 710 |
| 706 "RestoreOnStartup": { | 711 "RestoreOnStartup": { |
| 707 "os": ["win", "linux", "mac", "chromeos"], | 712 "os": ["win", "linux", "mac", "chromeos"], |
| 713 "can_be_recommended": true, |
| 708 "test_policy": { "RestoreOnStartup": 4 }, | 714 "test_policy": { "RestoreOnStartup": 4 }, |
| 709 "settings_pages": ["chrome://settings-frame"], | 715 "settings_pages": ["chrome://settings-frame"], |
| 710 "pref_mappings": [ | 716 "pref_mappings": [ |
| 711 { "pref": "session.restore_on_startup" } | 717 { "pref": "session.restore_on_startup", |
| 718 "indicator_tests": [ |
| 719 { "policy": { "RestoreOnStartup": 1 }, |
| 720 "value": "1"}, |
| 721 { "policy": { "RestoreOnStartup": 4 }, |
| 722 "value": "4"}, |
| 723 { "policy": { "RestoreOnStartup": 5 }, |
| 724 "value": "5"} |
| 725 ] |
| 726 } |
| 712 ] | 727 ] |
| 713 }, | 728 }, |
| 714 | 729 |
| 715 "RestoreOnStartupURLs": { | 730 "RestoreOnStartupURLs": { |
| 716 "os": ["win", "linux", "mac", "chromeos"], | 731 "os": ["win", "linux", "mac", "chromeos"], |
| 732 "can_be_recommended": true, |
| 717 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, | 733 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, |
| 718 "settings_pages": [], | 734 "settings_pages": [], |
| 719 "pref_mappings": [ | 735 "pref_mappings": [ |
| 720 { "pref": "session.urls_to_restore_on_startup" } | 736 { "pref": "session.urls_to_restore_on_startup", |
| 737 "indicator_tests": [ |
| 738 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } } |
| 739 ] |
| 740 } |
| 721 ], | 741 ], |
| 722 | 742 |
| 723 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 743 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 724 }, | 744 }, |
| 725 | 745 |
| 726 "BlockThirdPartyCookies": { | 746 "BlockThirdPartyCookies": { |
| 727 "os": ["win", "linux", "mac", "chromeos"], | 747 "os": ["win", "linux", "mac", "chromeos"], |
| 728 "can_be_recommended": true, | 748 "can_be_recommended": true, |
| 729 "test_policy": { "BlockThirdPartyCookies": true }, | 749 "test_policy": { "BlockThirdPartyCookies": true }, |
| 730 "settings_pages": ["chrome://settings-frame/content"], | 750 "settings_pages": ["chrome://settings-frame/content"], |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, | 1726 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, |
| 1707 "settings_pages": [] | 1727 "settings_pages": [] |
| 1708 }, | 1728 }, |
| 1709 | 1729 |
| 1710 "AdditionalLaunchParameters": { | 1730 "AdditionalLaunchParameters": { |
| 1711 "os": [], | 1731 "os": [], |
| 1712 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, | 1732 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, |
| 1713 "settings_pages": [] | 1733 "settings_pages": [] |
| 1714 } | 1734 } |
| 1715 } | 1735 } |
| OLD | NEW |