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

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

Issue 2498653002: Return one U+fffd for longest subpart of incomplete utf-8 character. (Closed)
Patch Set: Remove dead assignments. Created 4 years, 1 month 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-invalid-trail.html
diff --git a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-invalid-trail.html b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-invalid-trail.html
index e1c07a09771d39903aef48a97f93af7d8421f208..f652b6297080c31e5e1a40ae39af98b0ef4eec42 100644
--- a/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-invalid-trail.html
+++ b/third_party/WebKit/LayoutTests/fast/encoding/char-decoding-invalid-trail.html
@@ -8,8 +8,8 @@
// UTF-8 codec emits replacement characters
testDecode('UTF-8', '%C3%22', 'U+FFFD/U+0022');
testDecode('UTF-8', '%E2%22', 'U+FFFD/U+0022');
-testDecode('UTF-8', '%E2%A0%22', 'U+FFFD/U+FFFD/U+0022');
-testDecode('UTF-8', '%F0%90%80%22', 'U+FFFD/U+FFFD/U+FFFD/U+0022');
+testDecode('UTF-8', '%E2%A0%22', 'U+FFFD/U+0022');
+testDecode('UTF-8', '%F0%90%80%22', 'U+FFFD/U+0022');
// When a trail byte is in the ASCII range and lead+trail does not
// encode a character, the ASCII trail byte has to be added back to

Powered by Google App Engine
This is Rietveld 408576698