Index: components/policy/core/common/generate_policy_source_unittest.cc |
diff --git a/components/policy/core/common/generate_policy_source_unittest.cc b/components/policy/core/common/generate_policy_source_unittest.cc |
index 1eca86eee0adda45f6d29990ef07270cd3885b03..1ea1d3d179aadf62e42c00356399f3c6b7c158a0 100644 |
--- a/components/policy/core/common/generate_policy_source_unittest.cc |
+++ b/components/policy/core/common/generate_policy_source_unittest.cc |
@@ -40,7 +40,7 @@ TEST(GeneratePolicySource, ChromeSchemaData) { |
ASSERT_TRUE(subschema.valid()); |
EXPECT_EQ(base::Value::TYPE_STRING, subschema.type()); |
- subschema = schema.GetProperty(key::kCookiesAllowedForUrls); |
+ subschema = schema.GetProperty(key::kURLBlacklist); |
ASSERT_TRUE(subschema.valid()); |
EXPECT_EQ(base::Value::TYPE_LIST, subschema.type()); |
ASSERT_TRUE(subschema.GetItems().valid()); |
@@ -100,12 +100,14 @@ TEST(GeneratePolicySource, PolicyDetails) { |
EXPECT_EQ(5, details->id); |
EXPECT_EQ(0u, details->max_external_data_size); |
+#if !defined(OS_IOS) |
details = GetChromePolicyDetails(key::kJavascriptEnabled); |
ASSERT_TRUE(details); |
EXPECT_TRUE(details->is_deprecated); |
EXPECT_FALSE(details->is_device_policy); |
EXPECT_EQ(9, details->id); |
EXPECT_EQ(0u, details->max_external_data_size); |
+#endif |
#if defined(OS_CHROMEOS) |
details = GetChromePolicyDetails(key::kDevicePolicyRefreshRate); |