Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / policy / policy_test_cases.json
index ebe2035..44380a7 100644 (file)
     "official_only": true,
     "can_be_recommended": true,
     "test_policy": { "MetricsReportingEnabled": false },
+    "indicator_selector": "#metrics-reporting-disabled-icon",
     "pref_mappings": [
       { "pref": "user_experience_metrics.reporting_enabled",
-        "local_state": true,
-        "indicator_tests": [
-          { "policy": { "MetricsReportingEnabled": false } }
-        ]
+        "local_state": true
       }
     ]
   },
     ]
   },
 
+  "ContextualSearchEnabled": {
+    "os": ["android"]
+  },
+
   "AutoFillEnabled": {
     "os": ["win", "linux", "mac", "chromeos"],
     "can_be_recommended": true,
     ]
   },
 
+  "ExtensionSettings": {
+    "os": ["win", "linux", "mac", "chromeos"],
+    "test_policy": {
+      "ExtensionSettings": {
+        "abcdefghijklmnopabcdefghijklmnop" : {
+          "installation_mode": "allowed",
+          "blocked_permissions": ["history"]
+        },
+        "bcdefghijklmnopabcdefghijklmnopa" : {
+          "installation_mode": "force_installed",
+          "update_url": "http://example.com/update_url",
+          "allowed_permissions": ["downloads"]
+        },
+        "*": {
+          "installation_mode": "blocked",
+          "blocked_permissions": ["downloads", "bookmarks"],
+          "install_sources": ["http://company-intranet/chromeapps"],
+          "allowed_types": ["hosted_app"]
+        }
+      }
+    },
+    "pref_mappings": [
+      { "pref": "extensions.management" }
+    ]
+  },
+
   "ShowHomeButton": {
     "os": ["win", "linux", "mac", "chromeos"],
     "can_be_recommended": true,
     ]
   },
 
+  "ImportAutofillFormData": {
+    "os": ["win", "mac", "linux"],
+    "can_be_recommended": true,
+    "test_policy": { "ImportAutofillFormData": false },
+    "pref_mappings": [
+      { "pref": "import_autofill_form_data",
+        "indicator_tests": [
+          { "policy": { "ImportAutofillFormData": false } }
+        ]
+      }
+    ]
+  },
+
   "MaxConnectionsPerProxy": {
     "os": ["win", "linux", "mac", "chromeos"],
     "test_policy": { "MaxConnectionsPerProxy": 16 },
     ]
   },
 
+  "BrowserAddPersonEnabled": {
+    "os": ["win", "linux", "mac"],
+    "test_policy": { "BrowserAddPersonEnabled": true },
+    "pref_mappings": [
+      { "pref": "profile.add_person_enabled",
+        "local_state": true
+      }
+    ]
+  },
+
+  "SSLVersionMin": {
+    "os": ["win", "linux", "mac", "chromeos"],
+    "test_policy": { "SSLVersionMin": "tls1.2" },
+    "pref_mappings": []
+  },
+
+  "SSLVersionFallbackMin": {
+    "os": ["win", "linux", "mac", "chromeos"],
+    "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
+    "pref_mappings": []
+  },
+
   "----- Chrome OS policies ------------------------------------------------": {},
 
   "ChromeOsLockOnIdleSuspend": {