Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: net/base/mime_util_unittest.cc

Issue 228823003: Adding check for MIME types that do not take codecs parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changing AreSupportedCodecs Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util_unittest.cc
diff --git a/net/base/mime_util_unittest.cc b/net/base/mime_util_unittest.cc
index 27205815647bf5667bc4a319c77c20f44f1b78bb..c0d7e801257ce42c53626021c3314f7db22b1a2f 100644
--- a/net/base/mime_util_unittest.cc
+++ b/net/base/mime_util_unittest.cc
@@ -105,16 +105,15 @@ TEST(MimeUtilTest, StrictMediaMimeType) {
EXPECT_TRUE(IsStrictMediaMimeType("audio/ogg"));
EXPECT_TRUE(IsStrictMediaMimeType("application/ogg"));
- // TODO(amogh.bihani): These formats should be in stict-format_map_. This will
- // be fixed with bug 53193 (http://crbug.com/53193)---------------------------
- EXPECT_FALSE(IsStrictMediaMimeType("audio/mpeg"));
- EXPECT_FALSE(IsStrictMediaMimeType("audio/mp3"));
- EXPECT_FALSE(IsStrictMediaMimeType("audio/x-mp3"));
+ EXPECT_TRUE(IsStrictMediaMimeType("audio/mpeg"));
+ EXPECT_TRUE(IsStrictMediaMimeType("audio/mp3"));
+ EXPECT_TRUE(IsStrictMediaMimeType("audio/x-mp3"));
+ // TODO(amogh.bihani): These will be fixed http://crbug.com/53193
EXPECT_FALSE(IsStrictMediaMimeType("video/mp4"));
- EXPECT_FALSE(IsStrictMediaMimeType("video/x-mp4v"));
+ EXPECT_FALSE(IsStrictMediaMimeType("video/x-m4v"));
EXPECT_FALSE(IsStrictMediaMimeType("audio/mp4"));
- EXPECT_FALSE(IsStrictMediaMimeType("audio/x-mp4a"));
+ EXPECT_FALSE(IsStrictMediaMimeType("audio/x-m4a"));
EXPECT_FALSE(IsStrictMediaMimeType("application/x-mpegurl"));
EXPECT_FALSE(IsStrictMediaMimeType("application/vnd.apple.mpegurl"));
« no previous file with comments | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698