Index: LayoutTests/fast/encoding/api/utf16-surrogates-expected.txt |
diff --git a/LayoutTests/fast/encoding/api/utf16-surrogates-expected.txt b/LayoutTests/fast/encoding/api/utf16-surrogates-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dd90007ce06b36357f595d27db1866f6b098a710 |
--- /dev/null |
+++ b/LayoutTests/fast/encoding/api/utf16-surrogates-expected.txt |
@@ -0,0 +1,18 @@ |
+This is a testharness.js-based test. |
+FAIL utf-16le - lone surrogate lead assert_equals: expected "�" but got "���" |
+FAIL utf-16le - lone surrogate lead (fatal flag set) assert_throws: function "function () { |
+ new TextDecoder(t.encoding, {fa..." did not throw |
+FAIL utf-16le - lone surrogate trail assert_equals: expected "�" but got "���" |
+FAIL utf-16le - lone surrogate trail (fatal flag set) assert_throws: function "function () { |
+ new TextDecoder(t.encoding, {fa..." did not throw |
+FAIL utf-16le - unmatched surrogate lead assert_equals: expected "�\0" but got "���\0" |
+FAIL utf-16le - unmatched surrogate lead (fatal flag set) assert_throws: function "function () { |
+ new TextDecoder(t.encoding, {fa..." did not throw |
+FAIL utf-16le - unmatched surrogate trail assert_equals: expected "�\0" but got "���\0" |
+FAIL utf-16le - unmatched surrogate trail (fatal flag set) assert_throws: function "function () { |
+ new TextDecoder(t.encoding, {fa..." did not throw |
+FAIL utf-16le - swapped surrogate pair assert_equals: expected "��" but got "������" |
+FAIL utf-16le - swapped surrogate pair (fatal flag set) assert_throws: function "function () { |
+ new TextDecoder(t.encoding, {fa..." did not throw |
+Harness: the test ran to completion. |
+ |