Index: url/gurl_unittest.cc |
diff --git a/url/gurl_unittest.cc b/url/gurl_unittest.cc |
index 489b9d2bc3697a74fb07fbdc0ec32282546605d8..f38d7f9704e7d532b87dfb1315ff8d9e64b57a61 100644 |
--- a/url/gurl_unittest.cc |
+++ b/url/gurl_unittest.cc |
@@ -635,4 +635,10 @@ TEST(GURLTest, SchemeIsWSOrWSS) { |
EXPECT_FALSE(GURL("http://bar/").SchemeIsWSOrWSS()); |
} |
+TEST(GURLTest, SchemeIsBlob) { |
+ EXPECT_TRUE(GURL("BLOB://BAR/").SchemeIsBlob()); |
+ EXPECT_TRUE(GURL("blob://bar/").SchemeIsBlob()); |
+ EXPECT_FALSE(GURL("http://bar/").SchemeIsBlob()); |
+} |
+ |
} // namespace url |