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

Side by Side Diff: LayoutTests/fast/encoding/api/replacement-encoding-expected.txt

Issue 145973021: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replacement codec should emit U+FFFD Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Verify replacement encoding behavior
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS new TextEncoder('replacement') threw exception TypeError: Failed to constru ct 'TextEncoder': The encoding label provided ('replacement') is invalid..
7 PASS new TextDecoder('replacement') threw exception TypeError: Failed to constru ct 'TextDecoder': The encoding label provided ('replacement') is invalid..
8
9 label: csiso2022kr
10
11 PASS new TextEncoder('csiso2022kr') threw exception TypeError: Failed to constru ct 'TextEncoder': The encoding provided ('csiso2022kr') is not one of 'utf-8', ' utf-16', or 'utf-16be'..
12 PASS new TextDecoder('csiso2022kr') threw exception TypeError: Failed to constru ct 'TextDecoder': The encoding label provided ('csiso2022kr') is invalid..
13
14 label: iso-2022-cn
15
16 PASS new TextEncoder('iso-2022-cn') threw exception TypeError: Failed to constru ct 'TextEncoder': The encoding provided ('iso-2022-cn') is not one of 'utf-8', ' utf-16', or 'utf-16be'..
17 PASS new TextDecoder('iso-2022-cn') threw exception TypeError: Failed to constru ct 'TextDecoder': The encoding label provided ('iso-2022-cn') is invalid..
18
19 label: iso-2022-cn-ext
20
21 PASS new TextEncoder('iso-2022-cn-ext') threw exception TypeError: Failed to con struct 'TextEncoder': The encoding provided ('iso-2022-cn-ext') is not one of 'u tf-8', 'utf-16', or 'utf-16be'..
22 PASS new TextDecoder('iso-2022-cn-ext') threw exception TypeError: Failed to con struct 'TextDecoder': The encoding label provided ('iso-2022-cn-ext') is invalid ..
23
24 label: iso-2022-kr
25
26 PASS new TextEncoder('iso-2022-kr') threw exception TypeError: Failed to constru ct 'TextEncoder': The encoding provided ('iso-2022-kr') is not one of 'utf-8', ' utf-16', or 'utf-16be'..
27 PASS new TextDecoder('iso-2022-kr') threw exception TypeError: Failed to constru ct 'TextDecoder': The encoding label provided ('iso-2022-kr') is invalid..
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698