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

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

Issue 240283013: Convert Encoding API tests to W3C testharness.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move UTF-16 surrogate tests to separate file Created 6 years, 7 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
1 Test the Encoding API's use of encoding names 1 This is a testharness.js-based test.
2 PASS Encoding labels are case-insensitive
3 Harness: the test ran to completion.
2 4
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 PASS new TextDecoder('utf-16').encoding is "utf-16le"
10 PASS new TextDecoder('UTF-16').encoding is "utf-16le"
11 PASS new TextDecoder('utf-16le').encoding is "utf-16le"
12 PASS new TextDecoder('UTF-16LE').encoding is "utf-16le"
13 PASS new TextDecoder('utf-16be').encoding is "utf-16be"
14 PASS new TextDecoder('UTF-16BE').encoding is "utf-16be"
15 PASS new TextDecoder('ascii').encoding is "windows-1252"
16 PASS new TextDecoder('ASCII').encoding is "windows-1252"
17 PASS new TextDecoder('iso-8859-1').encoding is "windows-1252"
18 PASS new TextDecoder('ISO-8859-1').encoding is "windows-1252"
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
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