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

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

Issue 11078023: Add controlled setting indicators for content settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mark which of the policies considered can be recommended. Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
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 "pref": "The pref that this policy maps to, if any.", 5 "pref": "The pref that this policy maps to, if any.",
6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.", 7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.",
8 "indicator_test_setup_js": "JavaScript code to execute before testing contro lled setting indicators. This should be specified only if an explicit user actio n must be simulated (e.g. clicking a button).",
9 "indicator_selector": "A CSS selector that locates all controlled setting in dicators for |pref|. This is appended to the selector 'span.controlled-setting-i ndicator' and if not specified, defaults to '[pref=(the value of |pref|)', e.g. '[pref=homepage]'.",
8 "indicator_tests": [ 10 "indicator_tests": [
9 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:", 11 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:",
10 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.", 12 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.",
11 "value": "The value that |pref| should take on. This must only be specif ied if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).", 13 "value": "The value that |pref| should take on. This must only be specif ied if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).",
12 "readonly": "Whether setting the policy dictionary as recommended should cause |pref| to become read-only in the settings UI. This will be the case when the dictionary sets another policy that makes |pref| not applicable (e.g. setti ng 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-only) ."}], 14 "readonly": "Whether setting the policy dictionary as recommended should cause |pref| to become read-only in the settings UI. This will be the case when the dictionary sets another policy that makes |pref| not applicable (e.g. setti ng 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-only) ."}],
13 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."], 15 "settings_pages": ["A list of settings pages where the banner should be visi ble when this policy is set."],
14 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"], 16 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos"],
15 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.", 17 "local_state": "Optionally indicate that |pref| is registed in local state, instead of in the profile PrefService.",
16 "official_only": "Optionally set this to true if this policy only works on o fficial builds." 18 "official_only": "Optionally set this to true if this policy only works on o fficial builds."
17 }, 19 },
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "pref": "protocol.disabled_schemes", 100 "pref": "protocol.disabled_schemes",
99 "test_policy": { "DisabledSchemes": ["file"] }, 101 "test_policy": { "DisabledSchemes": ["file"] },
100 "settings_pages": [], 102 "settings_pages": [],
101 "local_state": true, 103 "local_state": true,
102 "os": ["win", "linux", "mac", "chromeos"] 104 "os": ["win", "linux", "mac", "chromeos"]
103 }, 105 },
104 106
105 "JavascriptEnabled": { 107 "JavascriptEnabled": {
106 "pref": "profile.managed_default_content_settings.javascript", 108 "pref": "profile.managed_default_content_settings.javascript",
107 "test_policy": { "JavascriptEnabled": false }, 109 "test_policy": { "JavascriptEnabled": false },
110 "indicator_selector": "[content-setting=javascript]",
111 "indicator_tests": [
112 { "policy": { "JavascriptEnabled": false }, "value": "block"},
113 { "policy": { "JavascriptEnabled": true }}],
108 "settings_pages": ["chrome://settings-frame/content"], 114 "settings_pages": ["chrome://settings-frame/content"],
109 "os": ["win", "linux", "mac", "chromeos"] 115 "os": ["win", "linux", "mac", "chromeos"]
110 }, 116 },
111 117
112 "IncognitoEnabled": { 118 "IncognitoEnabled": {
113 "pref": "incognito.mode_availability", 119 "pref": "incognito.mode_availability",
114 "test_policy": { "IncognitoEnabled": false }, 120 "test_policy": { "IncognitoEnabled": false },
115 "settings_pages": [], 121 "settings_pages": [],
116 "os": ["win", "linux", "mac", "chromeos"] 122 "os": ["win", "linux", "mac", "chromeos"]
117 }, 123 },
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 "DownloadDirectory": { 316 "DownloadDirectory": {
311 "pref": "download.default_directory", 317 "pref": "download.default_directory",
312 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 318 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
313 "settings_pages": ["chrome://settings-frame"], 319 "settings_pages": ["chrome://settings-frame"],
314 "os": ["win", "mac", "linux"] 320 "os": ["win", "mac", "linux"]
315 }, 321 },
316 322
317 "ClearSiteDataOnExit": { 323 "ClearSiteDataOnExit": {
318 "pref": "profile.managed_default_content_settings.cookies", 324 "pref": "profile.managed_default_content_settings.cookies",
319 "test_policy": { "ClearSiteDataOnExit": true }, 325 "test_policy": { "ClearSiteDataOnExit": true },
326 "indicator_selector": "[content-setting=cookies]",
327 "indicator_tests": [
328 { "policy": { "ClearSiteDataOnExit": false }},
329 { "policy": { "ClearSiteDataOnExit": true }, "value": "session"}],
320 "settings_pages": ["chrome://settings-frame/content"], 330 "settings_pages": ["chrome://settings-frame/content"],
321 "os": ["win", "linux", "mac", "chromeos"] 331 "os": ["win", "linux", "mac", "chromeos"],
332
333 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
322 }, 334 },
323 335
324 "ProxyMode": { 336 "ProxyMode": {
325 "pref": "proxy", 337 "pref": "proxy",
326 "test_policy": { "ProxyMode": "direct" }, 338 "test_policy": { "ProxyMode": "direct" },
327 "settings_pages": [], 339 "settings_pages": [],
328 "os": ["win", "mac", "linux"], 340 "os": ["win", "mac", "linux"],
329 341
330 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749" 342 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
331 }, 343 },
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 "pref": "session.urls_to_restore_on_startup", 512 "pref": "session.urls_to_restore_on_startup",
501 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, 513 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
502 "settings_pages": [], 514 "settings_pages": [],
503 "os": ["win", "linux", "mac", "chromeos"], 515 "os": ["win", "linux", "mac", "chromeos"],
504 516
505 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749" 517 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
506 }, 518 },
507 519
508 "BlockThirdPartyCookies": { 520 "BlockThirdPartyCookies": {
509 "pref": "profile.block_third_party_cookies", 521 "pref": "profile.block_third_party_cookies",
522 "can_be_recommended": true,
510 "test_policy": { "BlockThirdPartyCookies": true }, 523 "test_policy": { "BlockThirdPartyCookies": true },
524 "indicator_tests": [
525 { "policy": { "BlockThirdPartyCookies": true }}],
511 "settings_pages": ["chrome://settings-frame/content"], 526 "settings_pages": ["chrome://settings-frame/content"],
512 "os": ["win", "linux", "mac", "chromeos"], 527 "os": ["win", "linux", "mac", "chromeos"],
513 528
514 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91" 529 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91"
515 }, 530 },
516 531
517 "DefaultSearchProviderEnabled": { 532 "DefaultSearchProviderEnabled": {
518 "pref": "default_search_provider.enabled", 533 "pref": "default_search_provider.enabled",
519 "test_policy": { "DefaultSearchProviderEnabled": false }, 534 "test_policy": { "DefaultSearchProviderEnabled": false },
520 "settings_pages": [], 535 "settings_pages": [],
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 "DefaultSearchProviderAlternateURLs": { 592 "DefaultSearchProviderAlternateURLs": {
578 "pref": "default_search_provider.alternate_urls", 593 "pref": "default_search_provider.alternate_urls",
579 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, 594 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
580 "settings_pages": [], 595 "settings_pages": [],
581 "os": ["win", "linux", "mac", "chromeos"] 596 "os": ["win", "linux", "mac", "chromeos"]
582 }, 597 },
583 598
584 "DefaultCookiesSetting": { 599 "DefaultCookiesSetting": {
585 "pref": "profile.managed_default_content_settings.cookies", 600 "pref": "profile.managed_default_content_settings.cookies",
586 "test_policy": { "DefaultCookiesSetting": 2 }, 601 "test_policy": { "DefaultCookiesSetting": 2 },
587 "settings_pages": ["chrome://settings-frame/content"], 602 "indicator_selector": "[content-setting=cookies]",
588 "os": ["win", "linux", "mac", "chromeos"] 603 "indicator_tests": [
604 { "policy": { "DefaultCookiesSetting": 1 }, "value": "allow"},
605 { "policy": { "DefaultCookiesSetting": 2 }, "value": "block"},
606 { "policy": { "DefaultCookiesSetting": 4 }, "value": "session"}],
607 "settings_pages": ["chrome://settings-frame/content"],
608 "os": ["win", "linux", "mac", "chromeos"],
609
610 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
589 }, 611 },
590 612
591 "DefaultImagesSetting": { 613 "DefaultImagesSetting": {
592 "pref": "profile.managed_default_content_settings.images", 614 "pref": "profile.managed_default_content_settings.images",
593 "test_policy": { "DefaultImagesSetting": 2 }, 615 "test_policy": { "DefaultImagesSetting": 2 },
594 "settings_pages": ["chrome://settings-frame/content"], 616 "indicator_selector": "[content-setting=images]",
595 "os": ["win", "linux", "mac", "chromeos"] 617 "indicator_tests": [
618 { "policy": { "DefaultImagesSetting": 1 }, "value": "allow"},
619 { "policy": { "DefaultImagesSetting": 2 }, "value": "block"}],
620 "settings_pages": ["chrome://settings-frame/content"],
621 "os": ["win", "linux", "mac", "chromeos"],
622
623 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
596 }, 624 },
597 625
598 "DefaultJavaScriptSetting": { 626 "DefaultJavaScriptSetting": {
599 "pref": "profile.managed_default_content_settings.javascript", 627 "pref": "profile.managed_default_content_settings.javascript",
600 "test_policy": { "DefaultJavaScriptSetting": 2 }, 628 "test_policy": { "DefaultJavaScriptSetting": 2 },
601 "settings_pages": ["chrome://settings-frame/content"], 629 "indicator_selector": "[content-setting=javascript]",
602 "os": ["win", "linux", "mac", "chromeos"] 630 "indicator_tests": [
631 { "policy": { "DefaultJavaScriptSetting": 1 }, "value": "allow"},
632 { "policy": { "DefaultJavaScriptSetting": 2 }, "value": "block"}],
633 "settings_pages": ["chrome://settings-frame/content"],
634 "os": ["win", "linux", "mac", "chromeos"],
635
636 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
603 }, 637 },
604 638
605 "DefaultPluginsSetting": { 639 "DefaultPluginsSetting": {
606 "pref": "profile.managed_default_content_settings.plugins", 640 "pref": "profile.managed_default_content_settings.plugins",
607 "test_policy": { "DefaultPluginsSetting": 2 }, 641 "test_policy": { "DefaultPluginsSetting": 2 },
608 "settings_pages": ["chrome://settings-frame/content"], 642 "indicator_selector": "[content-setting=plugins]",
609 "os": ["win", "linux", "mac", "chromeos"] 643 "indicator_tests": [
644 { "policy": { "DefaultPluginsSetting": 1 }, "value": "allow"},
645 { "policy": { "DefaultPluginsSetting": 2 }, "value": "block"},
646 { "policy": { "DefaultPluginsSetting": 3 }, "value": "ask"}],
647 "settings_pages": ["chrome://settings-frame/content"],
648 "os": ["win", "linux", "mac", "chromeos"],
649
650 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
610 }, 651 },
611 652
612 "DefaultPopupsSetting": { 653 "DefaultPopupsSetting": {
613 "pref": "profile.managed_default_content_settings.popups", 654 "pref": "profile.managed_default_content_settings.popups",
614 "test_policy": { "DefaultPopupsSetting": 2 }, 655 "test_policy": { "DefaultPopupsSetting": 2 },
615 "settings_pages": ["chrome://settings-frame/content"], 656 "indicator_selector": "[content-setting=popups]",
616 "os": ["win", "linux", "mac", "chromeos"] 657 "indicator_tests": [
658 { "policy": { "DefaultPopupsSetting": 1 }, "value": "allow"},
659 { "policy": { "DefaultPopupsSetting": 2 }, "value": "block"}],
660 "settings_pages": ["chrome://settings-frame/content"],
661 "os": ["win", "linux", "mac", "chromeos"],
662
663 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
617 }, 664 },
618 665
619 "DefaultNotificationsSetting": { 666 "DefaultNotificationsSetting": {
620 "pref": "profile.managed_default_content_settings.notifications", 667 "pref": "profile.managed_default_content_settings.notifications",
621 "test_policy": { "DefaultNotificationsSetting": 2 }, 668 "test_policy": { "DefaultNotificationsSetting": 2 },
622 "settings_pages": ["chrome://settings-frame/content"], 669 "indicator_selector": "[content-setting=notifications]",
623 "os": ["win", "linux", "mac", "chromeos"] 670 "indicator_tests": [
671 { "policy": { "DefaultNotificationsSetting": 1 }, "value": "allow"},
672 { "policy": { "DefaultNotificationsSetting": 2 }, "value": "block"},
673 { "policy": { "DefaultNotificationsSetting": 3 }, "value": "ask"}],
674 "settings_pages": ["chrome://settings-frame/content"],
675 "os": ["win", "linux", "mac", "chromeos"],
676
677 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
624 }, 678 },
625 679
626 "DefaultGeolocationSetting": { 680 "DefaultGeolocationSetting": {
627 "pref": "profile.managed_default_content_settings.geolocation", 681 "pref": "profile.managed_default_content_settings.geolocation",
628 "test_policy": { "DefaultGeolocationSetting": 2 }, 682 "test_policy": { "DefaultGeolocationSetting": 2 },
629 "settings_pages": ["chrome://settings-frame/content"], 683 "indicator_selector": "[content-setting=location]",
630 "os": ["win", "linux", "mac", "chromeos"] 684 "indicator_tests": [
685 { "policy": { "DefaultGeolocationSetting": 1 }, "value": "allow"},
686 { "policy": { "DefaultGeolocationSetting": 2 }, "value": "block"},
687 { "policy": { "DefaultGeolocationSetting": 3 }, "value": "ask"}],
688 "settings_pages": ["chrome://settings-frame/content"],
689 "os": ["win", "linux", "mac", "chromeos"],
690
691 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
631 }, 692 },
632 693
633 "DefaultMediaStreamSetting": { 694 "DefaultMediaStreamSetting": {
634 "pref": "profile.managed_default_content_settings.media_stream", 695 "pref": "profile.managed_default_content_settings.media_stream",
635 "test_policy": { "DefaultMediaStreamSetting": 2 }, 696 "test_policy": { "DefaultMediaStreamSetting": 2 },
636 "settings_pages": ["chrome://settings-frame/content"], 697 "indicator_selector": "[content-setting=media-stream]",
637 "os": ["win", "linux", "mac", "chromeos"] 698 "indicator_tests": [
699 { "policy": { "DefaultMediaStreamSetting": 2 }, "value": "block"},
700 { "policy": { "DefaultMediaStreamSetting": 3 }, "value": "ask"}],
701 "settings_pages": ["chrome://settings-frame/content"],
702 "os": ["win", "linux", "mac", "chromeos"],
703
704 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
638 }, 705 },
639 706
640 "AutoSelectCertificateForUrls": { 707 "AutoSelectCertificateForUrls": {
641 "pref": "profile.managed_auto_select_certificate_for_urls", 708 "pref": "profile.managed_auto_select_certificate_for_urls",
642 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, 709 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
643 "settings_pages": [], 710 "settings_pages": [],
644 "os": ["win", "linux", "mac", "chromeos"] 711 "os": ["win", "linux", "mac", "chromeos"],
712
713 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
645 }, 714 },
646 715
647 "CookiesAllowedForUrls": { 716 "CookiesAllowedForUrls": {
648 "pref": "profile.managed_cookies_allowed_for_urls", 717 "pref": "profile.managed_cookies_allowed_for_urls",
649 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, 718 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
650 "settings_pages": [], 719 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
651 "os": ["win", "linux", "mac", "chromeos"] 720 "indicator_selector": "[content-exception=cookies]",
721 "indicator_tests": [
722 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }}],
723 "settings_pages": [],
724 "os": ["win", "linux", "mac", "chromeos"],
725
726 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
652 }, 727 },
653 728
654 "CookiesBlockedForUrls": { 729 "CookiesBlockedForUrls": {
655 "pref": "profile.managed_cookies_blocked_for_urls", 730 "pref": "profile.managed_cookies_blocked_for_urls",
656 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, 731 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
657 "settings_pages": [], 732 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
658 "os": ["win", "linux", "mac", "chromeos"] 733 "indicator_selector": "[content-exception=cookies]",
734 "indicator_tests": [
735 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }}],
736 "settings_pages": [],
737 "os": ["win", "linux", "mac", "chromeos"],
738
739 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
659 }, 740 },
660 741
661 "CookiesSessionOnlyForUrls": { 742 "CookiesSessionOnlyForUrls": {
662 "pref": "profile.managed_cookies_sessiononly_for_urls", 743 "pref": "profile.managed_cookies_sessiononly_for_urls",
663 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, 744 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
664 "settings_pages": [], 745 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
665 "os": ["win", "linux", "mac", "chromeos"] 746 "indicator_selector": "[content-exception=cookies]",
747 "indicator_tests": [
748 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }}],
749 "settings_pages": [],
750 "os": ["win", "linux", "mac", "chromeos"],
751
752 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
666 }, 753 },
667 754
668 "ImagesAllowedForUrls": { 755 "ImagesAllowedForUrls": {
669 "pref": "profile.managed_images_allowed_for_urls", 756 "pref": "profile.managed_images_allowed_for_urls",
670 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, 757 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
671 "settings_pages": [], 758 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=images]').click();",
672 "os": ["win", "linux", "mac", "chromeos"] 759 "indicator_selector": "[content-exception=images]",
760 "indicator_tests": [
761 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }}],
762 "settings_pages": [],
763 "os": ["win", "linux", "mac", "chromeos"],
764
765 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
673 }, 766 },
674 767
675 "ImagesBlockedForUrls": { 768 "ImagesBlockedForUrls": {
676 "pref": "profile.managed_images_blocked_for_urls", 769 "pref": "profile.managed_images_blocked_for_urls",
677 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, 770 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
678 "settings_pages": [], 771 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=images]').click();",
679 "os": ["win", "linux", "mac", "chromeos"] 772 "indicator_selector": "[content-exception=images]",
773 "indicator_tests": [
774 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }}],
775 "settings_pages": [],
776 "os": ["win", "linux", "mac", "chromeos"],
777
778 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
680 }, 779 },
681 780
682 "JavaScriptAllowedForUrls": { 781 "JavaScriptAllowedForUrls": {
683 "pref": "profile.managed_javascript_allowed_for_urls", 782 "pref": "profile.managed_javascript_allowed_for_urls",
684 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, 783 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
685 "settings_pages": [], 784 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=javascript]').click();",
686 "os": ["win", "linux", "mac", "chromeos"] 785 "indicator_selector": "[content-exception=javascript]",
786 "indicator_tests": [
787 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }}],
788 "settings_pages": [],
789 "os": ["win", "linux", "mac", "chromeos"],
790
791 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
687 }, 792 },
688 793
689 "JavaScriptBlockedForUrls": { 794 "JavaScriptBlockedForUrls": {
690 "pref": "profile.managed_javascript_blocked_for_urls", 795 "pref": "profile.managed_javascript_blocked_for_urls",
691 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, 796 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
692 "settings_pages": [], 797 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=javascript]').click();",
693 "os": ["win", "linux", "mac", "chromeos"] 798 "indicator_selector": "[content-exception=javascript]",
799 "indicator_tests": [
800 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }}],
801 "settings_pages": [],
802 "os": ["win", "linux", "mac", "chromeos"],
803
804 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
694 }, 805 },
695 806
696 "PluginsAllowedForUrls": { 807 "PluginsAllowedForUrls": {
697 "pref": "profile.managed_plugins_allowed_for_urls", 808 "pref": "profile.managed_plugins_allowed_for_urls",
698 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, 809 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
699 "settings_pages": [], 810 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=plugins]').click();",
700 "os": ["win", "linux", "mac", "chromeos"] 811 "indicator_selector": "[content-exception=plugins]",
812 "indicator_tests": [
813 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }}],
814 "settings_pages": [],
815 "os": ["win", "linux", "mac", "chromeos"],
816
817 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
701 }, 818 },
702 819
703 "PluginsBlockedForUrls": { 820 "PluginsBlockedForUrls": {
704 "pref": "profile.managed_plugins_blocked_for_urls", 821 "pref": "profile.managed_plugins_blocked_for_urls",
705 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, 822 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
706 "settings_pages": [], 823 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=plugins]').click();",
707 "os": ["win", "linux", "mac", "chromeos"] 824 "indicator_selector": "[content-exception=plugins]",
825 "indicator_tests": [
826 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }}],
827 "settings_pages": [],
828 "os": ["win", "linux", "mac", "chromeos"],
829
830 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
708 }, 831 },
709 832
710 "PopupsAllowedForUrls": { 833 "PopupsAllowedForUrls": {
711 "pref": "profile.managed_popups_allowed_for_urls", 834 "pref": "profile.managed_popups_allowed_for_urls",
712 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, 835 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
713 "settings_pages": [], 836 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=popups]').click();",
714 "os": ["win", "linux", "mac", "chromeos"] 837 "indicator_selector": "[content-exception=popups]",
838 "indicator_tests": [
839 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }}],
840 "settings_pages": [],
841 "os": ["win", "linux", "mac", "chromeos"],
842
843 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
715 }, 844 },
716 845
717 "PopupsBlockedForUrls": { 846 "PopupsBlockedForUrls": {
718 "pref": "profile.managed_popups_blocked_for_urls", 847 "pref": "profile.managed_popups_blocked_for_urls",
719 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, 848 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
720 "settings_pages": [], 849 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=popups]').click();",
721 "os": ["win", "linux", "mac", "chromeos"] 850 "indicator_selector": "[content-exception=popups]",
851 "indicator_tests": [
852 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }}],
853 "settings_pages": [],
854 "os": ["win", "linux", "mac", "chromeos"],
855
856 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
722 }, 857 },
723 858
724 "NotificationsAllowedForUrls": { 859 "NotificationsAllowedForUrls": {
725 "pref": "profile.managed_notifications_allowed_for_urls", 860 "pref": "profile.managed_notifications_allowed_for_urls",
726 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, 861 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
727 "settings_pages": [], 862 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=notifications]').click();",
728 "os": ["win", "linux", "mac", "chromeos"] 863 "indicator_selector": "[content-exception=notifications]",
864 "indicator_tests": [
865 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }}],
866 "settings_pages": [],
867 "os": ["win", "linux", "mac", "chromeos"],
868
869 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
729 }, 870 },
730 871
731 "NotificationsBlockedForUrls": { 872 "NotificationsBlockedForUrls": {
732 "pref": "profile.managed_notifications_blocked_for_urls", 873 "pref": "profile.managed_notifications_blocked_for_urls",
733 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, 874 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
734 "settings_pages": [], 875 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=notifications]').click();",
735 "os": ["win", "linux", "mac", "chromeos"] 876 "indicator_selector": "[content-exception=notifications]",
877 "indicator_tests": [
878 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }}],
879 "settings_pages": [],
880 "os": ["win", "linux", "mac", "chromeos"],
881
882 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
736 }, 883 },
737 884
738 "Disable3DAPIs": { 885 "Disable3DAPIs": {
739 "pref": "disable_3d_apis", 886 "pref": "disable_3d_apis",
740 "test_policy": { "Disable3DAPIs": true }, 887 "test_policy": { "Disable3DAPIs": true },
741 "settings_pages": [], 888 "settings_pages": [],
742 "os": ["win", "linux", "mac", "chromeos"] 889 "os": ["win", "linux", "mac", "chromeos"]
743 }, 890 },
744 891
745 "InstantEnabled": { 892 "InstantEnabled": {
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 "os": [] 1358 "os": []
1212 }, 1359 },
1213 1360
1214 "AdditionalLaunchParameters": { 1361 "AdditionalLaunchParameters": {
1215 "pref": null, 1362 "pref": null,
1216 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1363 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1217 "settings_pages": [], 1364 "settings_pages": [],
1218 "os": [] 1365 "os": []
1219 } 1366 }
1220 } 1367 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698