summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/manifest_parser_unittest.cc
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-22 20:03:01 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-22 20:03:01 +0000
commiteb2ee141e4b40cbc89baaa982c77fe10da6c9f48 (patch)
tree889fc7e7b89c0483cf97973289d4dff251c6f25b /webkit/appcache/manifest_parser_unittest.cc
parentf72298c8e0ce1427e8ed682ca5dad0573d6c2763 (diff)
downloadchromium_src-eb2ee141e4b40cbc89baaa982c77fe10da6c9f48.zip
chromium_src-eb2ee141e4b40cbc89baaa982c77fe10da6c9f48.tar.gz
chromium_src-eb2ee141e4b40cbc89baaa982c77fe10da6c9f48.tar.bz2
Appcache cross-origin HTTPS resources.
BUG=69594 TEST=updated unit tests Review URL: http://codereview.chromium.org/6526037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/manifest_parser_unittest.cc')
-rw-r--r--webkit/appcache/manifest_parser_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/appcache/manifest_parser_unittest.cc b/webkit/appcache/manifest_parser_unittest.cc
index dccf84e..2e9c573 100644
--- a/webkit/appcache/manifest_parser_unittest.cc
+++ b/webkit/appcache/manifest_parser_unittest.cc
@@ -328,7 +328,7 @@ TEST(ManifestParserTest, DifferentOriginUrlWithSecureScheme) {
EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
base::hash_set<std::string> urls = manifest.explicit_urls;
- const size_t kExpected = 2;
+ const size_t kExpected = 3;
ASSERT_EQ(kExpected, urls.size());
EXPECT_TRUE(urls.find("https://www.foo.com/relative/secureschemesameorigin")
!= urls.end());
@@ -336,7 +336,7 @@ TEST(ManifestParserTest, DifferentOriginUrlWithSecureScheme) {
urls.end());
EXPECT_FALSE(urls.find("http://www.xyz.com/secureschemedifforigin") !=
urls.end());
- EXPECT_FALSE(urls.find("https://www.xyz.com/secureschemedifforigin") !=
+ EXPECT_TRUE(urls.find("https://www.xyz.com/secureschemedifforigin") !=
urls.end());
}