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

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

Issue 15901002: Implement Encoding API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline webexposed global constructor tests Created 7 years, 4 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 Test the Encoding API's use of encoding names
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Encoding names are case insensitive
7 PASS new TextDecoder('utf-8').encoding is "utf-8"
8 PASS new TextDecoder('UTF-8').encoding is "utf-8"
9 FAIL new TextDecoder('utf-16').encoding should be utf-16. Was utf-16le.
10 FAIL new TextDecoder('UTF-16').encoding should be utf-16. Was utf-16le.
11 FAIL new TextDecoder('utf-16le').encoding should be utf-16. Was utf-16le.
12 FAIL new TextDecoder('UTF-16LE').encoding should be utf-16. Was utf-16le.
13 PASS new TextDecoder('utf-16be').encoding is "utf-16be"
14 PASS new TextDecoder('UTF-16BE').encoding is "utf-16be"
15 FAIL new TextDecoder('ascii').encoding should be windows-1252. Was us-ascii.
16 FAIL new TextDecoder('ASCII').encoding should be windows-1252. Was us-ascii.
17 FAIL new TextDecoder('iso-8859-1').encoding should be windows-1252. Was iso-8859 -1.
18 FAIL new TextDecoder('ISO-8859-1').encoding should be windows-1252. Was iso-8859 -1.
19 PASS new TextDecoder('utf-8').encoding is "utf-8"
20 FAIL new TextDecoder('UTF-16').encoding should be utf-16. Was utf-16le.
21 PASS new TextDecoder('UTF-16BE').encoding is "utf-16be"
22 FAIL new TextDecoder('iso8859-1').encoding should be windows-1252. Was iso-8859- 1.
23 FAIL new TextDecoder('iso-8859-1').encoding should be windows-1252. Was iso-8859 -1.
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/encoding-names.html ('k') | LayoutTests/fast/encoding/api/end-of-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698