Index: content/common/origin_util_unittest.cc |
diff --git a/content/common/origin_util_unittest.cc b/content/common/origin_util_unittest.cc |
index 2991a9d960b7f8afc79ea937c68bee0970d5b8bc..49598f659b8601c2ed5bf524d53743c62a9652a4 100644 |
--- a/content/common/origin_util_unittest.cc |
+++ b/content/common/origin_util_unittest.cc |
@@ -20,6 +20,12 @@ TEST(URLSchemesTest, IsOriginSecure) { |
EXPECT_FALSE(IsOriginSecure(GURL("ws://example.com/fun.html"))); |
EXPECT_TRUE(IsOriginSecure(GURL("http://localhost/fun.html"))); |
+ EXPECT_TRUE(IsOriginSecure(GURL("http://pumpkin.localhost/fun.html"))); |
+ EXPECT_TRUE( |
+ IsOriginSecure(GURL("http://crumpet.pumpkin.localhost/fun.html"))); |
+ EXPECT_TRUE(IsOriginSecure(GURL("http://pumpkin.localhost:8080/fun.html"))); |
+ EXPECT_TRUE( |
+ IsOriginSecure(GURL("http://crumpet.pumpkin.localhost:3000/fun.html"))); |
EXPECT_FALSE(IsOriginSecure(GURL("http://localhost.com/fun.html"))); |
EXPECT_TRUE(IsOriginSecure(GURL("https://localhost.com/fun.html"))); |