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

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

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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated-expected.txt b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated-expected.txt
index 50c7af1f85ca13074017a9588208f8bb165964ab..f000394a6fe6ab61fb3dffe82bc06a146a525f16 100644
--- a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-truncated-expected.txt
@@ -8,12 +8,12 @@ PASS decode('utf-8', '%E2%88%9A') is 'U+221A'
PASS decode('utf-8', '%E2%88') is 'U+FFFD/U+FFFD'
PASS decode('utf-8', '%E2') is 'U+FFFD'
PASS decode('utf-16', '%69%D8%D6%DE') is 'U+D869/U+DED6'
-PASS decode('utf-16', '%69%D8%D6') is 'U+D869'
-PASS decode('utf-16', '%69%D8') is 'U+D869'
+PASS decode('utf-16', '%69%D8%D6') is ''
+PASS decode('utf-16', '%69%D8') is ''
PASS decode('utf-16', '%69') is ''
PASS decode('utf-16be', '%D8%69%DE%D6') is 'U+D869/U+DED6'
-PASS decode('utf-16be', '%D8%69%DE') is 'U+D869'
-PASS decode('utf-16be', '%D8%69') is 'U+D869'
+PASS decode('utf-16be', '%D8%69%DE') is ''
+PASS decode('utf-16be', '%D8%69') is ''
PASS decode('utf-16be', '%D8') is ''
PASS decode('gb2312', '%A3%A0') is 'U+3000'
PASS decode('gb2312', '%A3') is 'U+FFFD'

Powered by Google App Engine
This is Rietveld 408576698