| Index: net/base/mime_sniffer_unittest.cc
|
| diff --git a/net/base/mime_sniffer_unittest.cc b/net/base/mime_sniffer_unittest.cc
|
| index 590dd77f4a079dcd34befce0c18746fe101c6cd8..d4b704a0e820bc209be9ed853bc8912d732d958e 100644
|
| --- a/net/base/mime_sniffer_unittest.cc
|
| +++ b/net/base/mime_sniffer_unittest.cc
|
| @@ -339,17 +339,16 @@ TEST(MimeSnifferTest, XMLTest) {
|
| EXPECT_EQ("text/plain",
|
| SniffMimeType("<?xml?><notafeed", std::string(), "text/plain"));
|
|
|
| - // Positive test for the two instances we upgrade to XHTML.
|
| + // Positive test for the one instance we upgrade to XHTML.
|
| EXPECT_EQ("application/xhtml+xml",
|
| SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">",
|
| std::string(),
|
| "text/xml"));
|
| - EXPECT_EQ("application/xhtml+xml",
|
| - SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">",
|
| - std::string(),
|
| - "application/xml"));
|
|
|
| // Following our behavior with HTML, don't call other mime types XHTML.
|
| + EXPECT_EQ("application/xml",
|
| + SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">",
|
| + std::string(), "application/xml"));
|
| EXPECT_EQ("text/plain",
|
| SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">",
|
| std::string(),
|
|
|