OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 FAIL utf-16le - lone surrogate lead assert_equals: expected "\ufffd" but got "���" | 2 FAIL utf-16le - lone surrogate lead assert_equals: expected "\ufffd" but got "���" |
3 FAIL utf-16le - lone surrogate lead (fatal flag set) assert_throws: function "fu
nction () { | 3 FAIL utf-16le - lone surrogate lead (fatal flag set) assert_throws: function "fu
nction () { |
4 new TextDecoder(t.encoding, {fa..." did not throw | 4 new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.i
nput)) |
| 5 }" did not throw |
5 FAIL utf-16le - lone surrogate trail assert_equals: expected "\ufffd" but got "���
" | 6 FAIL utf-16le - lone surrogate trail assert_equals: expected "\ufffd" but got "���
" |
6 FAIL utf-16le - lone surrogate trail (fatal flag set) assert_throws: function "f
unction () { | 7 FAIL utf-16le - lone surrogate trail (fatal flag set) assert_throws: function "f
unction () { |
7 new TextDecoder(t.encoding, {fa..." did not throw | 8 new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.i
nput)) |
| 9 }" did not throw |
8 FAIL utf-16le - unmatched surrogate lead assert_equals: expected "\ufffd\0" but
got "���\0" | 10 FAIL utf-16le - unmatched surrogate lead assert_equals: expected "\ufffd\0" but
got "���\0" |
9 FAIL utf-16le - unmatched surrogate lead (fatal flag set) assert_throws: functio
n "function () { | 11 FAIL utf-16le - unmatched surrogate lead (fatal flag set) assert_throws: functio
n "function () { |
10 new TextDecoder(t.encoding, {fa..." did not throw | 12 new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.i
nput)) |
| 13 }" did not throw |
11 FAIL utf-16le - unmatched surrogate trail assert_equals: expected "\ufffd\0" but
got "���\0" | 14 FAIL utf-16le - unmatched surrogate trail assert_equals: expected "\ufffd\0" but
got "���\0" |
12 FAIL utf-16le - unmatched surrogate trail (fatal flag set) assert_throws: functi
on "function () { | 15 FAIL utf-16le - unmatched surrogate trail (fatal flag set) assert_throws: functi
on "function () { |
13 new TextDecoder(t.encoding, {fa..." did not throw | 16 new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.i
nput)) |
| 17 }" did not throw |
14 FAIL utf-16le - swapped surrogate pair assert_equals: expected "\ufffd\ufffd" bu
t got "������" | 18 FAIL utf-16le - swapped surrogate pair assert_equals: expected "\ufffd\ufffd" bu
t got "������" |
15 FAIL utf-16le - swapped surrogate pair (fatal flag set) assert_throws: function
"function () { | 19 FAIL utf-16le - swapped surrogate pair (fatal flag set) assert_throws: function
"function () { |
16 new TextDecoder(t.encoding, {fa..." did not throw | 20 new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.i
nput)) |
| 21 }" did not throw |
17 Harness: the test ran to completion. | 22 Harness: the test ran to completion. |
18 | 23 |
OLD | NEW |