| Index: LayoutTests/fast/encoding/api/surrogate-pairs-expected.txt
|
| diff --git a/LayoutTests/fast/encoding/api/surrogate-pairs-expected.txt b/LayoutTests/fast/encoding/api/surrogate-pairs-expected.txt
|
| index 4e641982f5799cf297088307c957d19c7333b74d..f312ad4c4abf67c420072ec80bcab552aacdf206 100644
|
| --- a/LayoutTests/fast/encoding/api/surrogate-pairs-expected.txt
|
| +++ b/LayoutTests/fast/encoding/api/surrogate-pairs-expected.txt
|
| @@ -1,27 +1,9 @@
|
| -Test invalid UTF-16 surrogate pairs with UTF-8 encoding
|
| -
|
| -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| -
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('abc123')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[97,98,99,49,50,51]"
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('\ud800')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[239,191,189]"
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('\udc00')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[239,191,189]"
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('abc\ud800123')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[97,98,99,239,191,189,49,50,51]"
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('abc\udc00123')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[97,98,99,239,191,189,49,50,51]"
|
| -
|
| -encoded = new TextEncoder('utf-8').encode('\udc00\ud800')
|
| -PASS JSON.stringify([].slice.call(encoded)) is "[239,191,189,239,191,189]"
|
| -
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| +This is a testharness.js-based test.
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Sanity check
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Surrogate half (low)
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Surrogate half (high)
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Surrogate half (low), in a string
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Surrogate half (high), in a string
|
| +PASS Invalid surrogate pairs encoded into UTF-8: Wrong order
|
| +Harness: the test ran to completion.
|
|
|
|
|