Index: content/browser/media/media_canplaytype_browsertest.cc |
diff --git a/content/browser/media/media_canplaytype_browsertest.cc b/content/browser/media/media_canplaytype_browsertest.cc |
index 7897d78618b9b0aa22e72b9a0970de323aa62055..8f064df1f9f6a9fbd19da6892c3cd6b044f17446 100644 |
--- a/content/browser/media/media_canplaytype_browsertest.cc |
+++ b/content/browser/media/media_canplaytype_browsertest.cc |
@@ -345,9 +345,13 @@ IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_mp3) { |
EXPECT_EQ(kNot, CanPlay("'video/mpeg'")); |
EXPECT_EQ(kNot, CanPlay("'video/x-mp3'")); |
- // audio/mpeg does not allow any codecs parameter |
+ // audio/mpeg without a codecs parameter (RFC 3003 compliant) |
EXPECT_EQ(kPropProbably, CanPlay("'audio/mpeg'")); |
+ // audio/mpeg with mp3 in codecs parameter. (Not RFC compliant, but |
+ // very common in the wild so it is a defacto standard). |
+ EXPECT_EQ(kPropProbably, CanPlay("'audio/mpeg; codecs=\"mp3\"'")); |
+ |
EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1\"'")); |
EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3\"'")); |