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

Unified Diff: third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html

Issue 2379333003: UTF-16 Decoder: Convert unpaired surrogates to replacement characters (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html
diff --git a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html
index eeb755153e00915e3f7e25e443baa203c8a60c4c..e6a63844c8aaa77e642a8fd8d13c03c4a85822b2 100644
--- a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html
+++ b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated.html
@@ -12,12 +12,12 @@ testDecode('utf-8', '%E2', 'U+FFFD');
// UTF-16 codec does not emit replacement characters
testDecode('utf-16', '%69%D8%D6%DE', 'U+D869/U+DED6');
-testDecode('utf-16', '%69%D8%D6', 'U+D869');
-testDecode('utf-16', '%69%D8', 'U+D869');
+testDecode('utf-16', '%69%D8%D6', '');
+testDecode('utf-16', '%69%D8', '');
testDecode('utf-16', '%69', '');
testDecode('utf-16be', '%D8%69%DE%D6', 'U+D869/U+DED6');
-testDecode('utf-16be', '%D8%69%DE', 'U+D869');
-testDecode('utf-16be', '%D8%69', 'U+D869');
+testDecode('utf-16be', '%D8%69%DE', '');
+testDecode('utf-16be', '%D8%69', '');
testDecode('utf-16be', '%D8', '');
// Other codecs emit replacement characters

Powered by Google App Engine
This is Rietveld 408576698