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

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: Rebase, switch test to testharness Created 4 years, 2 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 | « no previous file | third_party/WebKit/LayoutTests/fast/encoding/utf-16-lone-surrogates.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 09d0a3f5dee162b5e51b711016bc1f7da79122a3..f5f4dff00ef5bc886c31fae689d613aa2d63328c 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/encoding/utf-16-lone-surrogates.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698