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

Unified Diff: chrome/test/data/policy/policy_test_cases.json

Issue 1638453003: Adding Keygen to Policy List (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/chromeos/enterprise/policies ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/policy/policy_test_cases.json
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json
index 68a08372c1a375c4da614c673dfad0e5f78044f9..8bca443039e6b5c55e5ef22855b4355cf916c347 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -992,6 +992,24 @@
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
+ "DefaultKeygenSetting": {
+ "os": ["win", "linux", "mac", "chromeos", "android"],
+ "test_policy": { "DefaultKeygenSetting": 2 },
+ "pref_mappings": [
+ { "pref": "profile.managed_default_content_settings.keygen",
+ "indicator_selector": "[content-setting=keygen]",
+ "indicator_tests": [
+ { "policy": { "DefaultKeygenSetting": 1 },
+ "value": "allow"},
+ { "policy": { "DefaultKeygenSetting": 2 },
+ "value": "block"}
+ ]
+ }
+ ],
+
+ "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
+ },
+
"DefaultPluginsSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"test_policy": { "DefaultPluginsSetting": 2 },
@@ -1316,6 +1334,38 @@
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
+ "KeygenAllowedForUrls": {
+ "os": ["win", "linux", "mac", "chromeos", "android"],
+ "test_policy": { "KeygenAllowedForUrls": ["[*.]google.com"] },
+ "pref_mappings": [
+ { "pref": "profile.managed_keygen_allowed_for_urls",
+ "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=keygen]').click();",
+ "indicator_selector": "[content-exception=keygen]",
+ "indicator_tests": [
+ { "policy": { "KeygenAllowedForUrls": ["[*.]google.com"] } }
+ ]
+ }
+ ],
+
+ "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
+ },
+
+ "KeygenBlockedForUrls": {
+ "os": ["win", "linux", "mac", "chromeos", "android"],
+ "test_policy": { "KeygenBlockedForUrls": ["[*.]google.com"] },
+ "pref_mappings": [
+ { "pref": "profile.managed_keygen_blocked_for_urls",
+ "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=keygen]').click();",
+ "indicator_selector": "[content-exception=keygen]",
+ "indicator_tests": [
+ { "policy": { "KeygenBlockedForUrls": ["[*.]google.com"] } }
+ ]
+ }
+ ],
+
+ "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
+ },
+
"PluginsAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
« no previous file with comments | « chrome/test/data/chromeos/enterprise/policies ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698