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

Side by Side Diff: LayoutTests/fast/encoding/api/utf16-surrogates-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
(Empty)
1 This is a testharness.js-based test.
2 FAIL utf-16le - lone surrogate lead assert_equals: expected "�" but got "���"
3 FAIL utf-16le - lone surrogate lead (fatal flag set) assert_throws: function "fu nction () {
4 new TextDecoder(t.encoding, {fa..." did not throw
5 FAIL utf-16le - lone surrogate trail assert_equals: expected "�" but got "���"
6 FAIL utf-16le - lone surrogate trail (fatal flag set) assert_throws: function "f unction () {
7 new TextDecoder(t.encoding, {fa..." did not throw
8 FAIL utf-16le - unmatched surrogate lead assert_equals: expected "�\0" but got " ���\0"
9 FAIL utf-16le - unmatched surrogate lead (fatal flag set) assert_throws: functio n "function () {
10 new TextDecoder(t.encoding, {fa..." did not throw
11 FAIL utf-16le - unmatched surrogate trail assert_equals: expected "�\0" but got "���\0"
12 FAIL utf-16le - unmatched surrogate trail (fatal flag set) assert_throws: functi on "function () {
13 new TextDecoder(t.encoding, {fa..." did not throw
14 FAIL utf-16le - swapped surrogate pair assert_equals: expected "��" but got "������"
15 FAIL utf-16le - swapped surrogate pair (fatal flag set) assert_throws: function "function () {
16 new TextDecoder(t.encoding, {fa..." did not throw
17 Harness: the test ran to completion.
18
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/api/utf16-surrogates.html ('k') | LayoutTests/fast/encoding/api/utf8-surrogates.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698