Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / encoding / api / utf16-surrogates-expected.txt
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 "function () {
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 "function () {
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: function "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: function "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