| Index: base/string_util_unittest.cc
|
| ===================================================================
|
| --- base/string_util_unittest.cc (revision 36459)
|
| +++ base/string_util_unittest.cc (working copy)
|
| @@ -225,8 +225,13 @@
|
| EXPECT_FALSE(IsStringUTF8("\xef\xbf\xbe")); // U+FFFE)
|
| EXPECT_FALSE(IsStringUTF8("\xf0\x8f\xbf\xbe")); // U+1FFFE
|
| EXPECT_FALSE(IsStringUTF8("\xf3\xbf\xbf\xbf")); // U+10FFFF
|
| +
|
| + // This should also be false, but currently we pass them through.
|
| + // Disable them for now.
|
| +#if 0
|
| EXPECT_FALSE(IsStringUTF8("\xef\xb7\x90")); // U+FDD0
|
| EXPECT_FALSE(IsStringUTF8("\xef\xb7\xaf")); // U+FDEF
|
| +#endif
|
|
|
| // Strings in legacy encodings. We can certainly make up strings
|
| // in a legacy encoding that are valid in UTF-8, but in real data,
|
|
|