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

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: Rebased. 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
« no previous file with comments | « chrome/browser/resources/options/controlled_setting.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "DownloadDirectory": { 309 "DownloadDirectory": {
304 "pref": "download.default_directory", 310 "pref": "download.default_directory",
305 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 311 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
306 "settings_pages": ["chrome://settings-frame"], 312 "settings_pages": ["chrome://settings-frame"],
307 "os": ["win", "mac", "linux"] 313 "os": ["win", "mac", "linux"]
308 }, 314 },
309 315
310 "ClearSiteDataOnExit": { 316 "ClearSiteDataOnExit": {
311 "pref": "profile.managed_default_content_settings.cookies", 317 "pref": "profile.managed_default_content_settings.cookies",
312 "test_policy": { "ClearSiteDataOnExit": true }, 318 "test_policy": { "ClearSiteDataOnExit": true },
319 "indicator_selector": "[content-setting=cookies]",
320 "indicator_tests": [
321 { "policy": { "ClearSiteDataOnExit": false }},
322 { "policy": { "ClearSiteDataOnExit": true }, "value": "session"}],
313 "settings_pages": ["chrome://settings-frame/content"], 323 "settings_pages": ["chrome://settings-frame/content"],
314 "os": ["win", "linux", "mac", "chromeos"] 324 "os": ["win", "linux", "mac", "chromeos"],
325
326 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
315 }, 327 },
316 328
317 "ProxyMode": { 329 "ProxyMode": {
318 "pref": "proxy", 330 "pref": "proxy",
319 "test_policy": { "ProxyMode": "direct" }, 331 "test_policy": { "ProxyMode": "direct" },
320 "settings_pages": [], 332 "settings_pages": [],
321 "os": ["win", "mac", "linux"], 333 "os": ["win", "mac", "linux"],
322 334
323 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749" 335 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
324 }, 336 },
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 "pref": "session.urls_to_restore_on_startup", 505 "pref": "session.urls_to_restore_on_startup",
494 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, 506 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
495 "settings_pages": [], 507 "settings_pages": [],
496 "os": ["win", "linux", "mac", "chromeos"], 508 "os": ["win", "linux", "mac", "chromeos"],
497 509
498 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749" 510 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug. com/97749"
499 }, 511 },
500 512
501 "BlockThirdPartyCookies": { 513 "BlockThirdPartyCookies": {
502 "pref": "profile.block_third_party_cookies", 514 "pref": "profile.block_third_party_cookies",
515 "can_be_recommended": true,
503 "test_policy": { "BlockThirdPartyCookies": true }, 516 "test_policy": { "BlockThirdPartyCookies": true },
517 "indicator_tests": [
518 { "policy": { "BlockThirdPartyCookies": true }}],
504 "settings_pages": ["chrome://settings-frame/content"], 519 "settings_pages": ["chrome://settings-frame/content"],
505 "os": ["win", "linux", "mac", "chromeos"], 520 "os": ["win", "linux", "mac", "chromeos"],
506 521
507 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91" 522 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777 91"
508 }, 523 },
509 524
510 "DefaultSearchProviderEnabled": { 525 "DefaultSearchProviderEnabled": {
511 "pref": "default_search_provider.enabled", 526 "pref": "default_search_provider.enabled",
512 "test_policy": { "DefaultSearchProviderEnabled": false }, 527 "test_policy": { "DefaultSearchProviderEnabled": false },
513 "settings_pages": [], 528 "settings_pages": [],
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 "DefaultSearchProviderAlternateURLs": { 585 "DefaultSearchProviderAlternateURLs": {
571 "pref": "default_search_provider.alternate_urls", 586 "pref": "default_search_provider.alternate_urls",
572 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, 587 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q ={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/# q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
573 "settings_pages": [], 588 "settings_pages": [],
574 "os": ["win", "linux", "mac", "chromeos"] 589 "os": ["win", "linux", "mac", "chromeos"]
575 }, 590 },
576 591
577 "DefaultCookiesSetting": { 592 "DefaultCookiesSetting": {
578 "pref": "profile.managed_default_content_settings.cookies", 593 "pref": "profile.managed_default_content_settings.cookies",
579 "test_policy": { "DefaultCookiesSetting": 2 }, 594 "test_policy": { "DefaultCookiesSetting": 2 },
580 "settings_pages": ["chrome://settings-frame/content"], 595 "indicator_selector": "[content-setting=cookies]",
581 "os": ["win", "linux", "mac", "chromeos"] 596 "indicator_tests": [
597 { "policy": { "DefaultCookiesSetting": 1 }, "value": "allow"},
598 { "policy": { "DefaultCookiesSetting": 2 }, "value": "block"},
599 { "policy": { "DefaultCookiesSetting": 4 }, "value": "session"}],
600 "settings_pages": ["chrome://settings-frame/content"],
601 "os": ["win", "linux", "mac", "chromeos"],
602
603 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
582 }, 604 },
583 605
584 "DefaultImagesSetting": { 606 "DefaultImagesSetting": {
585 "pref": "profile.managed_default_content_settings.images", 607 "pref": "profile.managed_default_content_settings.images",
586 "test_policy": { "DefaultImagesSetting": 2 }, 608 "test_policy": { "DefaultImagesSetting": 2 },
587 "settings_pages": ["chrome://settings-frame/content"], 609 "indicator_selector": "[content-setting=images]",
588 "os": ["win", "linux", "mac", "chromeos"] 610 "indicator_tests": [
611 { "policy": { "DefaultImagesSetting": 1 }, "value": "allow"},
612 { "policy": { "DefaultImagesSetting": 2 }, "value": "block"}],
613 "settings_pages": ["chrome://settings-frame/content"],
614 "os": ["win", "linux", "mac", "chromeos"],
615
616 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
589 }, 617 },
590 618
591 "DefaultJavaScriptSetting": { 619 "DefaultJavaScriptSetting": {
592 "pref": "profile.managed_default_content_settings.javascript", 620 "pref": "profile.managed_default_content_settings.javascript",
593 "test_policy": { "DefaultJavaScriptSetting": 2 }, 621 "test_policy": { "DefaultJavaScriptSetting": 2 },
594 "settings_pages": ["chrome://settings-frame/content"], 622 "indicator_selector": "[content-setting=javascript]",
595 "os": ["win", "linux", "mac", "chromeos"] 623 "indicator_tests": [
624 { "policy": { "DefaultJavaScriptSetting": 1 }, "value": "allow"},
625 { "policy": { "DefaultJavaScriptSetting": 2 }, "value": "block"}],
626 "settings_pages": ["chrome://settings-frame/content"],
627 "os": ["win", "linux", "mac", "chromeos"],
628
629 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
596 }, 630 },
597 631
598 "DefaultPluginsSetting": { 632 "DefaultPluginsSetting": {
599 "pref": "profile.managed_default_content_settings.plugins", 633 "pref": "profile.managed_default_content_settings.plugins",
600 "test_policy": { "DefaultPluginsSetting": 2 }, 634 "test_policy": { "DefaultPluginsSetting": 2 },
601 "settings_pages": ["chrome://settings-frame/content"], 635 "indicator_selector": "[content-setting=plugins]",
602 "os": ["win", "linux", "mac", "chromeos"] 636 "indicator_tests": [
637 { "policy": { "DefaultPluginsSetting": 1 }, "value": "allow"},
638 { "policy": { "DefaultPluginsSetting": 2 }, "value": "block"},
639 { "policy": { "DefaultPluginsSetting": 3 }, "value": "ask"}],
640 "settings_pages": ["chrome://settings-frame/content"],
641 "os": ["win", "linux", "mac", "chromeos"],
642
643 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
603 }, 644 },
604 645
605 "DefaultPopupsSetting": { 646 "DefaultPopupsSetting": {
606 "pref": "profile.managed_default_content_settings.popups", 647 "pref": "profile.managed_default_content_settings.popups",
607 "test_policy": { "DefaultPopupsSetting": 2 }, 648 "test_policy": { "DefaultPopupsSetting": 2 },
608 "settings_pages": ["chrome://settings-frame/content"], 649 "indicator_selector": "[content-setting=popups]",
609 "os": ["win", "linux", "mac", "chromeos"] 650 "indicator_tests": [
651 { "policy": { "DefaultPopupsSetting": 1 }, "value": "allow"},
652 { "policy": { "DefaultPopupsSetting": 2 }, "value": "block"}],
653 "settings_pages": ["chrome://settings-frame/content"],
654 "os": ["win", "linux", "mac", "chromeos"],
655
656 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
610 }, 657 },
611 658
612 "DefaultNotificationsSetting": { 659 "DefaultNotificationsSetting": {
613 "pref": "profile.managed_default_content_settings.notifications", 660 "pref": "profile.managed_default_content_settings.notifications",
614 "test_policy": { "DefaultNotificationsSetting": 2 }, 661 "test_policy": { "DefaultNotificationsSetting": 2 },
615 "settings_pages": ["chrome://settings-frame/content"], 662 "indicator_selector": "[content-setting=notifications]",
616 "os": ["win", "linux", "mac", "chromeos"] 663 "indicator_tests": [
664 { "policy": { "DefaultNotificationsSetting": 1 }, "value": "allow"},
665 { "policy": { "DefaultNotificationsSetting": 2 }, "value": "block"},
666 { "policy": { "DefaultNotificationsSetting": 3 }, "value": "ask"}],
667 "settings_pages": ["chrome://settings-frame/content"],
668 "os": ["win", "linux", "mac", "chromeos"],
669
670 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
617 }, 671 },
618 672
619 "DefaultGeolocationSetting": { 673 "DefaultGeolocationSetting": {
620 "pref": "profile.managed_default_content_settings.geolocation", 674 "pref": "profile.managed_default_content_settings.geolocation",
621 "test_policy": { "DefaultGeolocationSetting": 2 }, 675 "test_policy": { "DefaultGeolocationSetting": 2 },
622 "settings_pages": ["chrome://settings-frame/content"], 676 "indicator_selector": "[content-setting=location]",
623 "os": ["win", "linux", "mac", "chromeos"] 677 "indicator_tests": [
678 { "policy": { "DefaultGeolocationSetting": 1 }, "value": "allow"},
679 { "policy": { "DefaultGeolocationSetting": 2 }, "value": "block"},
680 { "policy": { "DefaultGeolocationSetting": 3 }, "value": "ask"}],
681 "settings_pages": ["chrome://settings-frame/content"],
682 "os": ["win", "linux", "mac", "chromeos"],
683
684 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
624 }, 685 },
625 686
626 "DefaultMediaStreamSetting": { 687 "DefaultMediaStreamSetting": {
627 "pref": "profile.managed_default_content_settings.media_stream", 688 "pref": "profile.managed_default_content_settings.media_stream",
628 "test_policy": { "DefaultMediaStreamSetting": 2 }, 689 "test_policy": { "DefaultMediaStreamSetting": 2 },
629 "settings_pages": ["chrome://settings-frame/content"], 690 "indicator_selector": "[content-setting=media-stream]",
630 "os": ["win", "linux", "mac", "chromeos"] 691 "indicator_tests": [
692 { "policy": { "DefaultMediaStreamSetting": 2 }, "value": "block"},
693 { "policy": { "DefaultMediaStreamSetting": 3 }, "value": "ask"}],
694 "settings_pages": ["chrome://settings-frame/content"],
695 "os": ["win", "linux", "mac", "chromeos"],
696
697 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
631 }, 698 },
632 699
633 "AutoSelectCertificateForUrls": { 700 "AutoSelectCertificateForUrls": {
634 "pref": "profile.managed_auto_select_certificate_for_urls", 701 "pref": "profile.managed_auto_select_certificate_for_urls",
635 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, 702 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
636 "settings_pages": [], 703 "settings_pages": [],
637 "os": ["win", "linux", "mac", "chromeos"] 704 "os": ["win", "linux", "mac", "chromeos"],
705
706 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
638 }, 707 },
639 708
640 "CookiesAllowedForUrls": { 709 "CookiesAllowedForUrls": {
641 "pref": "profile.managed_cookies_allowed_for_urls", 710 "pref": "profile.managed_cookies_allowed_for_urls",
642 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, 711 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
643 "settings_pages": [], 712 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
644 "os": ["win", "linux", "mac", "chromeos"] 713 "indicator_selector": "[content-exception=cookies]",
714 "indicator_tests": [
715 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }}],
716 "settings_pages": [],
717 "os": ["win", "linux", "mac", "chromeos"],
718
719 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
645 }, 720 },
646 721
647 "CookiesBlockedForUrls": { 722 "CookiesBlockedForUrls": {
648 "pref": "profile.managed_cookies_blocked_for_urls", 723 "pref": "profile.managed_cookies_blocked_for_urls",
649 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, 724 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
650 "settings_pages": [], 725 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
651 "os": ["win", "linux", "mac", "chromeos"] 726 "indicator_selector": "[content-exception=cookies]",
727 "indicator_tests": [
728 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }}],
729 "settings_pages": [],
730 "os": ["win", "linux", "mac", "chromeos"],
731
732 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
652 }, 733 },
653 734
654 "CookiesSessionOnlyForUrls": { 735 "CookiesSessionOnlyForUrls": {
655 "pref": "profile.managed_cookies_sessiononly_for_urls", 736 "pref": "profile.managed_cookies_sessiononly_for_urls",
656 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, 737 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
657 "settings_pages": [], 738 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=cookies]').click();",
658 "os": ["win", "linux", "mac", "chromeos"] 739 "indicator_selector": "[content-exception=cookies]",
740 "indicator_tests": [
741 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }}],
742 "settings_pages": [],
743 "os": ["win", "linux", "mac", "chromeos"],
744
745 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
659 }, 746 },
660 747
661 "ImagesAllowedForUrls": { 748 "ImagesAllowedForUrls": {
662 "pref": "profile.managed_images_allowed_for_urls", 749 "pref": "profile.managed_images_allowed_for_urls",
663 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, 750 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
664 "settings_pages": [], 751 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=images]').click();",
665 "os": ["win", "linux", "mac", "chromeos"] 752 "indicator_selector": "[content-exception=images]",
753 "indicator_tests": [
754 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }}],
755 "settings_pages": [],
756 "os": ["win", "linux", "mac", "chromeos"],
757
758 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
666 }, 759 },
667 760
668 "ImagesBlockedForUrls": { 761 "ImagesBlockedForUrls": {
669 "pref": "profile.managed_images_blocked_for_urls", 762 "pref": "profile.managed_images_blocked_for_urls",
670 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, 763 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
671 "settings_pages": [], 764 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=images]').click();",
672 "os": ["win", "linux", "mac", "chromeos"] 765 "indicator_selector": "[content-exception=images]",
766 "indicator_tests": [
767 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }}],
768 "settings_pages": [],
769 "os": ["win", "linux", "mac", "chromeos"],
770
771 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
673 }, 772 },
674 773
675 "JavaScriptAllowedForUrls": { 774 "JavaScriptAllowedForUrls": {
676 "pref": "profile.managed_javascript_allowed_for_urls", 775 "pref": "profile.managed_javascript_allowed_for_urls",
677 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, 776 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
678 "settings_pages": [], 777 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=javascript]').click();",
679 "os": ["win", "linux", "mac", "chromeos"] 778 "indicator_selector": "[content-exception=javascript]",
779 "indicator_tests": [
780 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }}],
781 "settings_pages": [],
782 "os": ["win", "linux", "mac", "chromeos"],
783
784 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
680 }, 785 },
681 786
682 "JavaScriptBlockedForUrls": { 787 "JavaScriptBlockedForUrls": {
683 "pref": "profile.managed_javascript_blocked_for_urls", 788 "pref": "profile.managed_javascript_blocked_for_urls",
684 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, 789 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
685 "settings_pages": [], 790 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=javascript]').click();",
686 "os": ["win", "linux", "mac", "chromeos"] 791 "indicator_selector": "[content-exception=javascript]",
792 "indicator_tests": [
793 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }}],
794 "settings_pages": [],
795 "os": ["win", "linux", "mac", "chromeos"],
796
797 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
687 }, 798 },
688 799
689 "PluginsAllowedForUrls": { 800 "PluginsAllowedForUrls": {
690 "pref": "profile.managed_plugins_allowed_for_urls", 801 "pref": "profile.managed_plugins_allowed_for_urls",
691 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, 802 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
692 "settings_pages": [], 803 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=plugins]').click();",
693 "os": ["win", "linux", "mac", "chromeos"] 804 "indicator_selector": "[content-exception=plugins]",
805 "indicator_tests": [
806 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }}],
807 "settings_pages": [],
808 "os": ["win", "linux", "mac", "chromeos"],
809
810 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
694 }, 811 },
695 812
696 "PluginsBlockedForUrls": { 813 "PluginsBlockedForUrls": {
697 "pref": "profile.managed_plugins_blocked_for_urls", 814 "pref": "profile.managed_plugins_blocked_for_urls",
698 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, 815 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
699 "settings_pages": [], 816 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=plugins]').click();",
700 "os": ["win", "linux", "mac", "chromeos"] 817 "indicator_selector": "[content-exception=plugins]",
818 "indicator_tests": [
819 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }}],
820 "settings_pages": [],
821 "os": ["win", "linux", "mac", "chromeos"],
822
823 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
701 }, 824 },
702 825
703 "PopupsAllowedForUrls": { 826 "PopupsAllowedForUrls": {
704 "pref": "profile.managed_popups_allowed_for_urls", 827 "pref": "profile.managed_popups_allowed_for_urls",
705 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, 828 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
706 "settings_pages": [], 829 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=popups]').click();",
707 "os": ["win", "linux", "mac", "chromeos"] 830 "indicator_selector": "[content-exception=popups]",
831 "indicator_tests": [
832 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }}],
833 "settings_pages": [],
834 "os": ["win", "linux", "mac", "chromeos"],
835
836 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
708 }, 837 },
709 838
710 "PopupsBlockedForUrls": { 839 "PopupsBlockedForUrls": {
711 "pref": "profile.managed_popups_blocked_for_urls", 840 "pref": "profile.managed_popups_blocked_for_urls",
712 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, 841 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
713 "settings_pages": [], 842 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=popups]').click();",
714 "os": ["win", "linux", "mac", "chromeos"] 843 "indicator_selector": "[content-exception=popups]",
844 "indicator_tests": [
845 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }}],
846 "settings_pages": [],
847 "os": ["win", "linux", "mac", "chromeos"],
848
849 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
715 }, 850 },
716 851
717 "NotificationsAllowedForUrls": { 852 "NotificationsAllowedForUrls": {
718 "pref": "profile.managed_notifications_allowed_for_urls", 853 "pref": "profile.managed_notifications_allowed_for_urls",
719 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, 854 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
720 "settings_pages": [], 855 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=notifications]').click();",
721 "os": ["win", "linux", "mac", "chromeos"] 856 "indicator_selector": "[content-exception=notifications]",
857 "indicator_tests": [
858 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }}],
859 "settings_pages": [],
860 "os": ["win", "linux", "mac", "chromeos"],
861
862 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
722 }, 863 },
723 864
724 "NotificationsBlockedForUrls": { 865 "NotificationsBlockedForUrls": {
725 "pref": "profile.managed_notifications_blocked_for_urls", 866 "pref": "profile.managed_notifications_blocked_for_urls",
726 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, 867 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
727 "settings_pages": [], 868 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b utton[contentType=notifications]').click();",
728 "os": ["win", "linux", "mac", "chromeos"] 869 "indicator_selector": "[content-exception=notifications]",
870 "indicator_tests": [
871 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }}],
872 "settings_pages": [],
873 "os": ["win", "linux", "mac", "chromeos"],
874
875 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
729 }, 876 },
730 877
731 "Disable3DAPIs": { 878 "Disable3DAPIs": {
732 "pref": "disable_3d_apis", 879 "pref": "disable_3d_apis",
733 "test_policy": { "Disable3DAPIs": true }, 880 "test_policy": { "Disable3DAPIs": true },
734 "settings_pages": [], 881 "settings_pages": [],
735 "os": ["win", "linux", "mac", "chromeos"] 882 "os": ["win", "linux", "mac", "chromeos"]
736 }, 883 },
737 884
738 "InstantEnabled": { 885 "InstantEnabled": {
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 "os": [] 1351 "os": []
1205 }, 1352 },
1206 1353
1207 "AdditionalLaunchParameters": { 1354 "AdditionalLaunchParameters": {
1208 "pref": null, 1355 "pref": null,
1209 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1356 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1210 "settings_pages": [], 1357 "settings_pages": [],
1211 "os": [] 1358 "os": []
1212 } 1359 }
1213 } 1360 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/controlled_setting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698