| 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 99b57b10f7ecebe57c7eec6bff81b7b8c6a44787..5bcf28db8118a863102a704716f2c1fe5463b56f 100644
|
| --- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| +++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
| @@ -89,14 +89,15 @@ TEST_F(PlatformAppsManifestTest, PlatformAppContentSecurityPolicy) {
|
| EXPECT_EQ(0U, extension->install_warnings().size())
|
| << "Unexpected warning " << extension->install_warnings()[0].message;
|
| EXPECT_TRUE(extension->is_platform_app());
|
| - EXPECT_EQ("default-src 'self' https://www.google.com",
|
| + EXPECT_EQ("default-src 'self' https://www.google.com;",
|
| CSPInfo::GetResourceContentSecurityPolicy(extension.get(),
|
| 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) {
|
|
|