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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 "JavascriptEnabled": { | 149 "JavascriptEnabled": { |
150 "os": ["win", "linux", "mac", "chromeos"], | 150 "os": ["win", "linux", "mac", "chromeos"], |
151 "test_policy": { "JavascriptEnabled": false }, | 151 "test_policy": { "JavascriptEnabled": false }, |
152 "settings_pages": ["chrome://settings-frame/content"], | 152 "settings_pages": ["chrome://settings-frame/content"], |
153 "pref_mappings": [ | 153 "pref_mappings": [ |
154 { "pref": "profile.managed_default_content_settings.javascript", | 154 { "pref": "profile.managed_default_content_settings.javascript", |
155 "indicator_selector": "[content-setting=javascript]", | 155 "indicator_selector": "[content-setting=javascript]", |
156 "indicator_tests": [ | 156 "indicator_tests": [ |
157 { "policy": { "JavascriptEnabled": false }, | 157 { "policy": { "JavascriptEnabled": false }, |
158 "value": "block"}, | 158 "value": "block"} |
159 { "policy": { "JavascriptEnabled": true } } | |
160 ] | 159 ] |
161 } | 160 } |
162 ] | 161 ] |
163 }, | 162 }, |
164 | 163 |
165 "IncognitoEnabled": { | 164 "IncognitoEnabled": { |
166 "os": ["win", "linux", "mac", "chromeos"], | 165 "os": ["win", "linux", "mac", "chromeos"], |
167 "test_policy": { "IncognitoEnabled": false }, | 166 "test_policy": { "IncognitoEnabled": false }, |
168 "settings_pages": [], | 167 "settings_pages": [], |
169 "pref_mappings": [ | 168 "pref_mappings": [ |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 }, | 439 }, |
441 | 440 |
442 "ClearSiteDataOnExit": { | 441 "ClearSiteDataOnExit": { |
443 "os": ["win", "linux", "mac", "chromeos"], | 442 "os": ["win", "linux", "mac", "chromeos"], |
444 "test_policy": { "ClearSiteDataOnExit": true }, | 443 "test_policy": { "ClearSiteDataOnExit": true }, |
445 "settings_pages": ["chrome://settings-frame/content"], | 444 "settings_pages": ["chrome://settings-frame/content"], |
446 "pref_mappings": [ | 445 "pref_mappings": [ |
447 { "pref": "profile.managed_default_content_settings.cookies", | 446 { "pref": "profile.managed_default_content_settings.cookies", |
448 "indicator_selector": "[content-setting=cookies]", | 447 "indicator_selector": "[content-setting=cookies]", |
449 "indicator_tests": [ | 448 "indicator_tests": [ |
450 { "policy": { "ClearSiteDataOnExit": false } }, | |
451 { "policy": { "ClearSiteDataOnExit": true }, | 449 { "policy": { "ClearSiteDataOnExit": true }, |
452 "value": "session"} | 450 "value": "session"} |
453 ] | 451 ] |
454 } | 452 } |
455 ], | 453 ], |
456 | 454 |
457 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 455 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
458 }, | 456 }, |
459 | 457 |
460 "ProxyMode": { | 458 "ProxyMode": { |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 "os": ["win", "linux", "mac", "chromeos"], | 678 "os": ["win", "linux", "mac", "chromeos"], |
681 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, | 679 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, |
682 "settings_pages": [], | 680 "settings_pages": [], |
683 "pref_mappings": [ | 681 "pref_mappings": [ |
684 { "pref": "extensions.allowed_install_sites" } | 682 { "pref": "extensions.allowed_install_sites" } |
685 ] | 683 ] |
686 }, | 684 }, |
687 | 685 |
688 "ShowHomeButton": { | 686 "ShowHomeButton": { |
689 "os": ["win", "linux", "mac", "chromeos"], | 687 "os": ["win", "linux", "mac", "chromeos"], |
| 688 "can_be_recommended": true, |
690 "test_policy": { "ShowHomeButton": true }, | 689 "test_policy": { "ShowHomeButton": true }, |
691 "settings_pages": ["chrome://settings-frame"], | 690 "settings_pages": ["chrome://settings-frame"], |
692 "pref_mappings": [ | 691 "pref_mappings": [ |
693 { "pref": "browser.show_home_button" } | 692 { "pref": "browser.show_home_button", |
| 693 "indicator_tests": [ |
| 694 { "policy": { "ShowHomeButton": true } } |
| 695 ] |
| 696 } |
694 ] | 697 ] |
695 }, | 698 }, |
696 | 699 |
697 "DeveloperToolsDisabled": { | 700 "DeveloperToolsDisabled": { |
698 "os": ["win", "linux", "mac", "chromeos"], | 701 "os": ["win", "linux", "mac", "chromeos"], |
699 "test_policy": { "DeveloperToolsDisabled": true }, | 702 "test_policy": { "DeveloperToolsDisabled": true }, |
700 "settings_pages": [], | 703 "settings_pages": [], |
701 "pref_mappings": [ | 704 "pref_mappings": [ |
702 { "pref": "devtools.disabled" } | 705 { "pref": "devtools.disabled" } |
703 ] | 706 ] |
704 }, | 707 }, |
705 | 708 |
706 "RestoreOnStartup": { | 709 "RestoreOnStartup": { |
707 "os": ["win", "linux", "mac", "chromeos"], | 710 "os": ["win", "linux", "mac", "chromeos"], |
| 711 "can_be_recommended": true, |
708 "test_policy": { "RestoreOnStartup": 4 }, | 712 "test_policy": { "RestoreOnStartup": 4 }, |
709 "settings_pages": ["chrome://settings-frame"], | 713 "settings_pages": ["chrome://settings-frame"], |
710 "pref_mappings": [ | 714 "pref_mappings": [ |
711 { "pref": "session.restore_on_startup" } | 715 { "pref": "session.restore_on_startup", |
| 716 "indicator_tests": [ |
| 717 { "policy": { "RestoreOnStartup": 1 }, |
| 718 "value": "1"}, |
| 719 { "policy": { "RestoreOnStartup": 4 }, |
| 720 "value": "4"}, |
| 721 { "policy": { "RestoreOnStartup": 5 }, |
| 722 "value": "5"} |
| 723 ] |
| 724 } |
712 ] | 725 ] |
713 }, | 726 }, |
714 | 727 |
715 "RestoreOnStartupURLs": { | 728 "RestoreOnStartupURLs": { |
716 "os": ["win", "linux", "mac", "chromeos"], | 729 "os": ["win", "linux", "mac", "chromeos"], |
| 730 "can_be_recommended": true, |
717 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, | 731 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, |
718 "settings_pages": [], | 732 "settings_pages": [], |
719 "pref_mappings": [ | 733 "pref_mappings": [ |
720 { "pref": "session.urls_to_restore_on_startup" } | 734 { "pref": "session.urls_to_restore_on_startup", |
| 735 "indicator_tests": [ |
| 736 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } } |
| 737 ] |
| 738 } |
721 ], | 739 ], |
722 | 740 |
723 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 741 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
724 }, | 742 }, |
725 | 743 |
726 "BlockThirdPartyCookies": { | 744 "BlockThirdPartyCookies": { |
727 "os": ["win", "linux", "mac", "chromeos"], | 745 "os": ["win", "linux", "mac", "chromeos"], |
728 "can_be_recommended": true, | 746 "can_be_recommended": true, |
729 "test_policy": { "BlockThirdPartyCookies": true }, | 747 "test_policy": { "BlockThirdPartyCookies": true }, |
730 "settings_pages": ["chrome://settings-frame/content"], | 748 "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" }, | 1724 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, |
1707 "settings_pages": [] | 1725 "settings_pages": [] |
1708 }, | 1726 }, |
1709 | 1727 |
1710 "AdditionalLaunchParameters": { | 1728 "AdditionalLaunchParameters": { |
1711 "os": [], | 1729 "os": [], |
1712 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, | 1730 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, |
1713 "settings_pages": [] | 1731 "settings_pages": [] |
1714 } | 1732 } |
1715 } | 1733 } |
OLD | NEW |