Index: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
index 296030c09d2cb7ea284e9597184b632f6da1ea04..0bff8f96630a40ee88400cc7a9f165460b6e5af2 100644 |
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc |
@@ -94,9 +94,10 @@ TEST_F(PlatformAppsManifestTest, PlatformAppContentSecurityPolicy) { |
std::string())); |
// But even whitelisted ones must specify a secure policy. |
- LoadAndExpectError( |
+ LoadAndExpectWarning( |
"init_platform_app_csp_insecure.json", |
- errors::kInsecureContentSecurityPolicy); |
+ ErrorUtils::FormatErrorMessage(errors::kInvalidCSPInsecureValue, |
+ "http://www.google.com", "default-src")); |
} |
TEST_F(PlatformAppsManifestTest, CertainApisRequirePlatformApps) { |