Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update wpt #32208

Closed
wants to merge 1 commit into from
Closed

test: update wpt #32208

wants to merge 1 commit into from

Conversation

bmeck
Copy link
Member

@bmeck bmeck commented Mar 11, 2020

This adds several failures mostly due to how things are stringified. Unclear what direction is normally taken as updating the platform test values seems a bit much. Was intending just to update encoding, but due to harness changes common and resources also needed updates.

Using git node wpt ...

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

common added at 6d7f862e4a
encoding updated to 39b27a7875
resources updated to 5d33b4da92

using: `git node wpt ...`
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Mar 11, 2020
@bmeck bmeck added the encoding Issues and PRs related to the TextEncoder and TextDecoder APIs. label Mar 11, 2020
@Trott
Copy link
Member

Trott commented Mar 12, 2020

@joyeecheung

@joyeecheung
Copy link
Member

This adds several failures mostly due to how things are stringified. Unclear what direction is normally taken as updating the platform test values seems a bit much.

What does this mean? There are test failures added in this update (but I don't see them in the CI?) or there are new test testing failures?

@bmeck
Copy link
Member Author

bmeck commented Mar 12, 2020

@joyeecheung running out/Release/node /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js gives the failures below:

output
> ---- replacement-encodings.any.js ----
[SKIPPED] decoding-helpers.js needs XMLHttpRequest
---- unsupported-encodings.any.js ----
[SKIPPED] decoding-helpers.js needs XMLHttpRequest
---- api-basics.any.js ----
[PASSED] Default encodings
[PASSED] Default inputs
[PASSED] Encode/decode round trip: utf-8
[PASSED] Decode sample: utf-16le
[PASSED] Decode sample: utf-16be
[PASSED] Decode sample: utf-16
---- api-invalid-label.any.js ----
[UNEXPECTED_FAILURE] 
---- api-replacement-encodings.any.js ----
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: csiso2022kr
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: hz-gb-2312
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: iso-2022-cn
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: iso-2022-cn-ext
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: iso-2022-kr
[UNEXPECTED_FAILURE] Label for "replacement" should be rejected by API: replacement
---- api-surrogates-utf8.any.js ----
[PASSED] Invalid surrogates encoded into UTF-8: Sanity check
[PASSED] Invalid surrogates encoded into UTF-8: Surrogate half (low)
[PASSED] Invalid surrogates encoded into UTF-8: Surrogate half (high)
[PASSED] Invalid surrogates encoded into UTF-8: Surrogate half (low), in a string
[PASSED] Invalid surrogates encoded into UTF-8: Surrogate half (high), in a string
[PASSED] Invalid surrogates encoded into UTF-8: Wrong order
---- encodeInto.any.js ----
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with Hi and destination length 0, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with Hi and destination length 0, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with A and destination length 10, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with A and destination length 10, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with 𝌆 and destination length 4, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆 and destination length 4, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with 𝌆A and destination length 3, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with 𝌆A and destination length 3, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with U+d834AU+df06A¥Hi and destination length 10, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with AU+df06 and destination length 4, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with AU+df06 and destination length 4, offset 4, filler random
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 0
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 0
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler 128
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler 128
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 0, filler random
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 0, filler random
[PASSED] encodeInto() into ArrayBuffer with ¥¥ and destination length 4, offset 4, filler random
[PASSED] encodeInto() into SharedArrayBuffer with ¥¥ and destination length 4, offset 4, filler random
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: DataView, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int8Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int8Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int16Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int16Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int32Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Int32Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint16Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint16Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint32Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint32Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint8ClampedArray, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Uint8ClampedArray, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Float32Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Float64Array, backed by: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: Float64Array, backed by: SharedArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: ArrayBuffer
[UNEXPECTED_FAILURE] Invalid encodeInto() destination: SharedArrayBuffer
[PASSED] encodeInto() and a detached output buffer
---- idlharness.any.js ----
[EXPECTED_FAILURE] 
No implementation of TextDecoderStream and TextEncoderStream
---- iso-2022-jp-decoder.any.js ----
[EXPECTED_FAILURE] iso-2022-jp decoder: Error ESC
iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder
[PASSED] iso-2022-jp decoder: Error ESC, character
[PASSED] iso-2022-jp decoder: ASCII ESC, character
[PASSED] iso-2022-jp decoder: Double ASCII ESC, character
[PASSED] iso-2022-jp decoder: character, ASCII ESC, character
[PASSED] iso-2022-jp decoder: characters
[PASSED] iso-2022-jp decoder: SO / SI
[PASSED] iso-2022-jp decoder: Roman ESC, characters
[PASSED] iso-2022-jp decoder: Roman ESC, SO / SI
[PASSED] iso-2022-jp decoder: Roman ESC, error ESC, Katakana ESC
[PASSED] iso-2022-jp decoder: Katakana ESC, character
[PASSED] iso-2022-jp decoder: Katakana ESC, multibyte ESC, character
[PASSED] iso-2022-jp decoder: Katakana ESC, error ESC, character
[PASSED] iso-2022-jp decoder: Katakana ESC, error ESC #2, character
[PASSED] iso-2022-jp decoder: Katakana ESC, character, Katakana ESC, character
[EXPECTED_FAILURE] iso-2022-jp decoder: Katakana ESC, SO / SI
iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder
[PASSED] iso-2022-jp decoder: Multibyte ESC, character
[PASSED] iso-2022-jp decoder: Multibyte ESC #2, character
[PASSED] iso-2022-jp decoder: Multibyte ESC, error ESC, character
[PASSED] iso-2022-jp decoder: Double multibyte ESC
[PASSED] iso-2022-jp decoder: Double multibyte ESC, character
[PASSED] iso-2022-jp decoder: Double multibyte ESC #2, character
[PASSED] iso-2022-jp decoder: Multibyte ESC, error ESC #2, character
[PASSED] iso-2022-jp decoder: Multibyte ESC, single byte, multibyte ESC, character
[PASSED] iso-2022-jp decoder: Multibyte ESC, lead error byte
[PASSED] iso-2022-jp decoder: Multibyte ESC, trail error byte
[PASSED] iso-2022-jp decoder: character, error ESC
[EXPECTED_FAILURE] iso-2022-jp decoder: character, error ESC #2
iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder
[PASSED] iso-2022-jp decoder: character, error ESC #3
[PASSED] iso-2022-jp decoder: character, ASCII ESC
[PASSED] iso-2022-jp decoder: character, Roman ESC
[PASSED] iso-2022-jp decoder: character, Katakana ESC
[PASSED] iso-2022-jp decoder: character, Multibyte ESC
[PASSED] iso-2022-jp decoder: character, Multibyte ESC #2
---- streams/decode-attributes.any.js ----
[EXPECTED_FAILURE] encoding attribute should have correct value for 'unicode-1-1-utf-8'
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] encoding attribute should have correct value for 'iso-8859-2'
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] encoding attribute should have correct value for 'ascii'
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] encoding attribute should have correct value for 'utf-16'
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to 'false' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to 'false' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to '0' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to '0' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to '' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to '' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to 'undefined' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to 'undefined' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to 'null' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to 'null' should set the attribute to false
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to 'true' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to 'true' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to '1' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to '1' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to '[object Object]' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to '[object Object]' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to '' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to '' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting fatal to 'yes' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] setting ignoreBOM to 'yes' should set the attribute to true
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] constructing with an invalid encoding should throw
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] constructing with a non-stringifiable encoding should throw
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a throwing fatal member should cause the constructor to throw
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a throwing ignoreBOM member should cause the constructor to throw
No implementation of TextDecoderStream and TextEncoderStream
---- streams/readable-writable-properties.any.js ----
[EXPECTED_FAILURE] TextEncoderStream readable and writable properties must pass brand checks
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream readable and writable properties must pass brand checks
No implementation of TextDecoderStream and TextEncoderStream
---- streams/realms.window.js ----
[EXPECTED_FAILURE] 
No implementation of TextDecoderStream and TextEncoderStream
---- textdecoder-byte-order-marks.any.js ----
[PASSED] Byte-order marks: utf-8
[PASSED] Byte-order marks: utf-16le
[PASSED] Byte-order marks: utf-16be
---- textdecoder-copy.any.js ----
[PASSED] Modify buffer after passing it in (ArrayBuffer)
[UNEXPECTED_FAILURE] Modify buffer after passing it in (SharedArrayBuffer)
---- textdecoder-fatal-single-byte.any.js ----
[EXPECTED_FAILURE] 
The iso-8859-16 encoding is not supported
---- textdecoder-fatal-streaming.any.js ----
[UNEXPECTED_FAILURE] Fatal flag, non-streaming cases
[UNEXPECTED_FAILURE] Fatal flag, streaming cases
---- textdecoder-fatal.any.js ----
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid code
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - ends early
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - ends early 2
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail 2
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail 3
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail 4
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail 5
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - invalid trail 6
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - > 0x10FFFF
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - obsolete lead byte
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+0000 - 2 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+0000 - 3 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+0000 - 4 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+0000 - 5 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+0000 - 6 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+007F - 2 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+007F - 3 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+007F - 4 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+007F - 5 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+007F - 6 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+07FF - 3 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+07FF - 4 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+07FF - 5 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+07FF - 6 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 4 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 5 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 6 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+10FFFF - 5 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - overlong U+10FFFF - 6 bytes
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - lead surrogate
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - trail surrogate
[UNEXPECTED_FAILURE] Fatal flag: utf-8 - surrogate pair
[UNEXPECTED_FAILURE] Fatal flag: utf-16le - truncated code unit
[PASSED] The fatal attribute of TextDecoder
[UNEXPECTED_FAILURE] Error seen with fatal does not prevent future decodes
---- textdecoder-ignorebom.any.js ----
[PASSED] BOM is ignored if ignoreBOM option is specified: utf-8
[PASSED] BOM is ignored if ignoreBOM option is specified: utf-16le
[PASSED] BOM is ignored if ignoreBOM option is specified: utf-16be
[PASSED] The ignoreBOM attribute of TextDecoder
---- textdecoder-labels.any.js ----
[PASSED] unicode-1-1-utf-8 => UTF-8
[PASSED] utf-8 => UTF-8
[PASSED] utf8 => UTF-8
[PASSED] 866 => IBM866
[PASSED] cp866 => IBM866
[PASSED] csibm866 => IBM866
[PASSED] ibm866 => IBM866
[PASSED] csisolatin2 => ISO-8859-2
[PASSED] iso-8859-2 => ISO-8859-2
[PASSED] iso-ir-101 => ISO-8859-2
[PASSED] iso8859-2 => ISO-8859-2
[PASSED] iso88592 => ISO-8859-2
[PASSED] iso_8859-2 => ISO-8859-2
[PASSED] iso_8859-2:1987 => ISO-8859-2
[PASSED] l2 => ISO-8859-2
[PASSED] latin2 => ISO-8859-2
[PASSED] csisolatin3 => ISO-8859-3
[PASSED] iso-8859-3 => ISO-8859-3
[PASSED] iso-ir-109 => ISO-8859-3
[PASSED] iso8859-3 => ISO-8859-3
[PASSED] iso88593 => ISO-8859-3
[PASSED] iso_8859-3 => ISO-8859-3
[PASSED] iso_8859-3:1988 => ISO-8859-3
[PASSED] l3 => ISO-8859-3
[PASSED] latin3 => ISO-8859-3
[PASSED] csisolatin4 => ISO-8859-4
[PASSED] iso-8859-4 => ISO-8859-4
[PASSED] iso-ir-110 => ISO-8859-4
[PASSED] iso8859-4 => ISO-8859-4
[PASSED] iso88594 => ISO-8859-4
[PASSED] iso_8859-4 => ISO-8859-4
[PASSED] iso_8859-4:1988 => ISO-8859-4
[PASSED] l4 => ISO-8859-4
[PASSED] latin4 => ISO-8859-4
[PASSED] csisolatincyrillic => ISO-8859-5
[PASSED] cyrillic => ISO-8859-5
[PASSED] iso-8859-5 => ISO-8859-5
[PASSED] iso-ir-144 => ISO-8859-5
[PASSED] iso8859-5 => ISO-8859-5
[PASSED] iso88595 => ISO-8859-5
[PASSED] iso_8859-5 => ISO-8859-5
[PASSED] iso_8859-5:1988 => ISO-8859-5
[PASSED] arabic => ISO-8859-6
[PASSED] asmo-708 => ISO-8859-6
[PASSED] csiso88596e => ISO-8859-6
[PASSED] csiso88596i => ISO-8859-6
[PASSED] csisolatinarabic => ISO-8859-6
[PASSED] ecma-114 => ISO-8859-6
[PASSED] iso-8859-6 => ISO-8859-6
[PASSED] iso-8859-6-e => ISO-8859-6
[PASSED] iso-8859-6-i => ISO-8859-6
[PASSED] iso-ir-127 => ISO-8859-6
[PASSED] iso8859-6 => ISO-8859-6
[PASSED] iso88596 => ISO-8859-6
[PASSED] iso_8859-6 => ISO-8859-6
[PASSED] iso_8859-6:1987 => ISO-8859-6
[PASSED] csisolatingreek => ISO-8859-7
[PASSED] ecma-118 => ISO-8859-7
[PASSED] elot_928 => ISO-8859-7
[PASSED] greek => ISO-8859-7
[PASSED] greek8 => ISO-8859-7
[PASSED] iso-8859-7 => ISO-8859-7
[PASSED] iso-ir-126 => ISO-8859-7
[PASSED] iso8859-7 => ISO-8859-7
[PASSED] iso88597 => ISO-8859-7
[PASSED] iso_8859-7 => ISO-8859-7
[PASSED] iso_8859-7:1987 => ISO-8859-7
[PASSED] sun_eu_greek => ISO-8859-7
[PASSED] csiso88598e => ISO-8859-8
[PASSED] csisolatinhebrew => ISO-8859-8
[PASSED] hebrew => ISO-8859-8
[PASSED] iso-8859-8 => ISO-8859-8
[PASSED] iso-8859-8-e => ISO-8859-8
[PASSED] iso-ir-138 => ISO-8859-8
[PASSED] iso8859-8 => ISO-8859-8
[PASSED] iso88598 => ISO-8859-8
[PASSED] iso_8859-8 => ISO-8859-8
[PASSED] iso_8859-8:1988 => ISO-8859-8
[PASSED] visual => ISO-8859-8
[PASSED] csiso88598i => ISO-8859-8-I
[PASSED] iso-8859-8-i => ISO-8859-8-I
[PASSED] logical => ISO-8859-8-I
[PASSED] csisolatin6 => ISO-8859-10
[PASSED] iso-8859-10 => ISO-8859-10
[PASSED] iso-ir-157 => ISO-8859-10
[PASSED] iso8859-10 => ISO-8859-10
[PASSED] iso885910 => ISO-8859-10
[PASSED] l6 => ISO-8859-10
[PASSED] latin6 => ISO-8859-10
[PASSED] iso-8859-13 => ISO-8859-13
[PASSED] iso8859-13 => ISO-8859-13
[PASSED] iso885913 => ISO-8859-13
[PASSED] iso-8859-14 => ISO-8859-14
[PASSED] iso8859-14 => ISO-8859-14
[PASSED] iso885914 => ISO-8859-14
[PASSED] csisolatin9 => ISO-8859-15
[PASSED] iso-8859-15 => ISO-8859-15
[PASSED] iso8859-15 => ISO-8859-15
[PASSED] iso885915 => ISO-8859-15
[PASSED] iso_8859-15 => ISO-8859-15
[PASSED] l9 => ISO-8859-15
[EXPECTED_FAILURE] iso-8859-16 => ISO-8859-16
The iso-8859-16 encoding is not supported
[PASSED] cskoi8r => KOI8-R
[PASSED] koi => KOI8-R
[PASSED] koi8 => KOI8-R
[PASSED] koi8-r => KOI8-R
[PASSED] koi8_r => KOI8-R
[PASSED] koi8-ru => KOI8-U
[PASSED] koi8-u => KOI8-U
[PASSED] csmacintosh => macintosh
[PASSED] mac => macintosh
[PASSED] macintosh => macintosh
[PASSED] x-mac-roman => macintosh
[PASSED] dos-874 => windows-874
[PASSED] iso-8859-11 => windows-874
[PASSED] iso8859-11 => windows-874
[PASSED] iso885911 => windows-874
[PASSED] tis-620 => windows-874
[PASSED] windows-874 => windows-874
[PASSED] cp1250 => windows-1250
[PASSED] windows-1250 => windows-1250
[PASSED] x-cp1250 => windows-1250
[PASSED] cp1251 => windows-1251
[PASSED] windows-1251 => windows-1251
[PASSED] x-cp1251 => windows-1251
[PASSED] ansi_x3.4-1968 => windows-1252
[PASSED] ascii => windows-1252
[PASSED] cp1252 => windows-1252
[PASSED] cp819 => windows-1252
[PASSED] csisolatin1 => windows-1252
[PASSED] ibm819 => windows-1252
[PASSED] iso-8859-1 => windows-1252
[PASSED] iso-ir-100 => windows-1252
[PASSED] iso8859-1 => windows-1252
[PASSED] iso88591 => windows-1252
[PASSED] iso_8859-1 => windows-1252
[PASSED] iso_8859-1:1987 => windows-1252
[PASSED] l1 => windows-1252
[PASSED] latin1 => windows-1252
[PASSED] us-ascii => windows-1252
[PASSED] windows-1252 => windows-1252
[PASSED] x-cp1252 => windows-1252
[PASSED] cp1253 => windows-1253
[PASSED] windows-1253 => windows-1253
[PASSED] x-cp1253 => windows-1253
[PASSED] cp1254 => windows-1254
[PASSED] csisolatin5 => windows-1254
[PASSED] iso-8859-9 => windows-1254
[PASSED] iso-ir-148 => windows-1254
[PASSED] iso8859-9 => windows-1254
[PASSED] iso88599 => windows-1254
[PASSED] iso_8859-9 => windows-1254
[PASSED] iso_8859-9:1989 => windows-1254
[PASSED] l5 => windows-1254
[PASSED] latin5 => windows-1254
[PASSED] windows-1254 => windows-1254
[PASSED] x-cp1254 => windows-1254
[PASSED] cp1255 => windows-1255
[PASSED] windows-1255 => windows-1255
[PASSED] x-cp1255 => windows-1255
[PASSED] cp1256 => windows-1256
[PASSED] windows-1256 => windows-1256
[PASSED] x-cp1256 => windows-1256
[PASSED] cp1257 => windows-1257
[PASSED] windows-1257 => windows-1257
[PASSED] x-cp1257 => windows-1257
[PASSED] cp1258 => windows-1258
[PASSED] windows-1258 => windows-1258
[PASSED] x-cp1258 => windows-1258
[PASSED] x-mac-cyrillic => x-mac-cyrillic
[PASSED] x-mac-ukrainian => x-mac-cyrillic
[PASSED] chinese => GBK
[PASSED] csgb2312 => GBK
[PASSED] csiso58gb231280 => GBK
[PASSED] gb2312 => GBK
[PASSED] gb_2312 => GBK
[PASSED] gb_2312-80 => GBK
[PASSED] gbk => GBK
[PASSED] iso-ir-58 => GBK
[PASSED] x-gbk => GBK
[PASSED] gb18030 => gb18030
[PASSED] big5 => Big5
[PASSED] big5-hkscs => Big5
[PASSED] cn-big5 => Big5
[PASSED] csbig5 => Big5
[PASSED] x-x-big5 => Big5
[PASSED] cseucpkdfmtjapanese => EUC-JP
[PASSED] euc-jp => EUC-JP
[PASSED] x-euc-jp => EUC-JP
[PASSED] csiso2022jp => ISO-2022-JP
[PASSED] iso-2022-jp => ISO-2022-JP
[PASSED] csshiftjis => Shift_JIS
[PASSED] ms932 => Shift_JIS
[PASSED] ms_kanji => Shift_JIS
[PASSED] shift-jis => Shift_JIS
[PASSED] shift_jis => Shift_JIS
[PASSED] sjis => Shift_JIS
[PASSED] windows-31j => Shift_JIS
[PASSED] x-sjis => Shift_JIS
[PASSED] cseuckr => EUC-KR
[PASSED] csksc56011987 => EUC-KR
[PASSED] euc-kr => EUC-KR
[PASSED] iso-ir-149 => EUC-KR
[PASSED] korean => EUC-KR
[PASSED] ks_c_5601-1987 => EUC-KR
[PASSED] ks_c_5601-1989 => EUC-KR
[PASSED] ksc5601 => EUC-KR
[PASSED] ksc_5601 => EUC-KR
[PASSED] windows-949 => EUC-KR
[PASSED] utf-16be => UTF-16BE
[PASSED] utf-16 => UTF-16LE
[PASSED] utf-16le => UTF-16LE
[EXPECTED_FAILURE] x-user-defined => x-user-defined
The iso-8859-16 encoding is not supported
---- textdecoder-streaming.any.js ----
[PASSED] Streaming decode: utf-8, 1 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-8, 2 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-8, 3 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-8, 4 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-8, 5 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16le, 1 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16le, 2 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16le, 3 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16le, 4 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16le, 5 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16be, 1 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16be, 2 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16be, 3 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16be, 4 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-16be, 5 byte window (ArrayBuffer)
[PASSED] Streaming decode: utf-8, 1 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-8, 2 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-8, 3 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-8, 4 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-8, 5 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16le, 1 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16le, 2 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16le, 3 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16le, 4 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16le, 5 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16be, 1 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16be, 2 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16be, 3 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16be, 4 byte window (SharedArrayBuffer)
[PASSED] Streaming decode: utf-16be, 5 byte window (SharedArrayBuffer)
---- textdecoder-utf16-surrogates.any.js ----
[PASSED] utf-16le - lone surrogate lead
[UNEXPECTED_FAILURE] utf-16le - lone surrogate lead (fatal flag set)
[PASSED] utf-16le - lone surrogate trail
[UNEXPECTED_FAILURE] utf-16le - lone surrogate trail (fatal flag set)
[PASSED] utf-16le - unmatched surrogate lead
[UNEXPECTED_FAILURE] utf-16le - unmatched surrogate lead (fatal flag set)
[PASSED] utf-16le - unmatched surrogate trail
[UNEXPECTED_FAILURE] utf-16le - unmatched surrogate trail (fatal flag set)
[PASSED] utf-16le - swapped surrogate pair
[UNEXPECTED_FAILURE] utf-16le - swapped surrogate pair (fatal flag set)
---- textencoder-constructor-non-utf.any.js ----
[PASSED] Encoding argument supported for decode: UTF-8
[PASSED] Encoding argument not considered for encode: UTF-8
[PASSED] Encoding argument supported for decode: IBM866
[PASSED] Encoding argument not considered for encode: IBM866
[PASSED] Encoding argument supported for decode: ISO-8859-2
[PASSED] Encoding argument not considered for encode: ISO-8859-2
[PASSED] Encoding argument supported for decode: ISO-8859-3
[PASSED] Encoding argument not considered for encode: ISO-8859-3
[PASSED] Encoding argument supported for decode: ISO-8859-4
[PASSED] Encoding argument not considered for encode: ISO-8859-4
[PASSED] Encoding argument supported for decode: ISO-8859-5
[PASSED] Encoding argument not considered for encode: ISO-8859-5
[PASSED] Encoding argument supported for decode: ISO-8859-6
[PASSED] Encoding argument not considered for encode: ISO-8859-6
[PASSED] Encoding argument supported for decode: ISO-8859-7
[PASSED] Encoding argument not considered for encode: ISO-8859-7
[PASSED] Encoding argument supported for decode: ISO-8859-8
[PASSED] Encoding argument not considered for encode: ISO-8859-8
[PASSED] Encoding argument supported for decode: ISO-8859-8-I
[PASSED] Encoding argument not considered for encode: ISO-8859-8-I
[PASSED] Encoding argument supported for decode: ISO-8859-10
[PASSED] Encoding argument not considered for encode: ISO-8859-10
[PASSED] Encoding argument supported for decode: ISO-8859-13
[PASSED] Encoding argument not considered for encode: ISO-8859-13
[PASSED] Encoding argument supported for decode: ISO-8859-14
[PASSED] Encoding argument not considered for encode: ISO-8859-14
[PASSED] Encoding argument supported for decode: ISO-8859-15
[PASSED] Encoding argument not considered for encode: ISO-8859-15
[EXPECTED_FAILURE] Encoding argument supported for decode: ISO-8859-16
The iso-8859-16 encoding is not supported
[PASSED] Encoding argument not considered for encode: ISO-8859-16
[PASSED] Encoding argument supported for decode: KOI8-R
[PASSED] Encoding argument not considered for encode: KOI8-R
[PASSED] Encoding argument supported for decode: KOI8-U
[PASSED] Encoding argument not considered for encode: KOI8-U
[PASSED] Encoding argument supported for decode: macintosh
[PASSED] Encoding argument not considered for encode: macintosh
[PASSED] Encoding argument supported for decode: windows-874
[PASSED] Encoding argument not considered for encode: windows-874
[PASSED] Encoding argument supported for decode: windows-1250
[PASSED] Encoding argument not considered for encode: windows-1250
[PASSED] Encoding argument supported for decode: windows-1251
[PASSED] Encoding argument not considered for encode: windows-1251
[PASSED] Encoding argument supported for decode: windows-1252
[PASSED] Encoding argument not considered for encode: windows-1252
[PASSED] Encoding argument supported for decode: windows-1253
[PASSED] Encoding argument not considered for encode: windows-1253
[PASSED] Encoding argument supported for decode: windows-1254
[PASSED] Encoding argument not considered for encode: windows-1254
[PASSED] Encoding argument supported for decode: windows-1255
[PASSED] Encoding argument not considered for encode: windows-1255
[PASSED] Encoding argument supported for decode: windows-1256
[PASSED] Encoding argument not considered for encode: windows-1256
[PASSED] Encoding argument supported for decode: windows-1257
[PASSED] Encoding argument not considered for encode: windows-1257
[PASSED] Encoding argument supported for decode: windows-1258
[PASSED] Encoding argument not considered for encode: windows-1258
[PASSED] Encoding argument supported for decode: x-mac-cyrillic
[PASSED] Encoding argument not considered for encode: x-mac-cyrillic
[PASSED] Encoding argument supported for decode: GBK
[PASSED] Encoding argument not considered for encode: GBK
[PASSED] Encoding argument supported for decode: gb18030
[PASSED] Encoding argument not considered for encode: gb18030
[PASSED] Encoding argument supported for decode: Big5
[PASSED] Encoding argument not considered for encode: Big5
[PASSED] Encoding argument supported for decode: EUC-JP
[PASSED] Encoding argument not considered for encode: EUC-JP
[PASSED] Encoding argument supported for decode: ISO-2022-JP
[PASSED] Encoding argument not considered for encode: ISO-2022-JP
[PASSED] Encoding argument supported for decode: Shift_JIS
[PASSED] Encoding argument not considered for encode: Shift_JIS
[PASSED] Encoding argument supported for decode: EUC-KR
[PASSED] Encoding argument not considered for encode: EUC-KR
[PASSED] Encoding argument not considered for encode: replacement
[PASSED] Encoding argument supported for decode: UTF-16BE
[PASSED] Encoding argument not considered for encode: UTF-16BE
[PASSED] Encoding argument supported for decode: UTF-16LE
[PASSED] Encoding argument not considered for encode: UTF-16LE
[EXPECTED_FAILURE] Encoding argument supported for decode: x-user-defined
The iso-8859-16 encoding is not supported
[PASSED] Encoding argument not considered for encode: x-user-defined
---- textencoder-utf16-surrogates.any.js ----
[PASSED] USVString handling: lone surrogate lead
[PASSED] USVString handling: lone surrogate trail
[PASSED] USVString handling: unmatched surrogate lead
[PASSED] USVString handling: unmatched surrogate trail
[PASSED] USVString handling: swapped surrogate pair
[PASSED] USVString handling: properly encoded MUSICAL SYMBOL G CLEF (U+1D11E)
[PASSED] USVString default
---- streams/encode-bad-chunks.any.js ----
[EXPECTED_FAILURE] a chunk that cannot be converted to a string should error the streams
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] input of type undefined should be converted correctly to string
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] input of type null should be converted correctly to string
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] input of type numeric should be converted correctly to string
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] input of type object should be converted correctly to string
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] input of type array should be converted correctly to string
No implementation of TextDecoderStream and TextEncoderStream
---- streams/backpressure.any.js ----
[EXPECTED_FAILURE] write() should not complete until read relieves backpressure for TextDecoderStream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] additional writes should wait for backpressure to be relieved for class TextDecoderStream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] write() should not complete until read relieves backpressure for TextEncoderStream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] additional writes should wait for backpressure to be relieved for class TextEncoderStream
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-bad-chunks.any.js ----
[EXPECTED_FAILURE] chunk of type undefined should error the stream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] chunk of type null should error the stream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] chunk of type numeric should error the stream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] chunk of type object, not BufferSource should error the stream
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] chunk of type array should error the stream
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-incomplete-input.any.js ----
[EXPECTED_FAILURE] incomplete input with error mode "replacement" should end with a replacement character
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] incomplete input with error mode "fatal" should error the stream
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-non-utf8.any.js ----
[EXPECTED_FAILURE] TextDecoderStream should be able to decode UTF-16BE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode invalid sequences in UTF-16BE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to reject invalid sequences in UTF-16BE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode UTF-16LE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode invalid sequences in UTF-16LE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to reject invalid sequences in UTF-16LE
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode Shift_JIS
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode invalid sequences in Shift_JIS
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to reject invalid sequences in Shift_JIS
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] TextDecoderStream should be able to decode ISO-8859-14
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-split-character.any.js ----
[EXPECTED_FAILURE] a code point split between chunks should not be emitted until all bytes are available; split point = 2
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a code point split between chunks should not be emitted until all bytes are available; split point = 3
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a code point split between chunks should not be emitted until all bytes are available; split point = 4
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a code point split between chunks should not be emitted until all bytes are available; split point = 5
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a code point should be emitted as soon as all bytes are available
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 1
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 2
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 3
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 4
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 5
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty chunk inside a code point split between chunks should not change the output; split point = 6
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-utf8.any.js ----
[EXPECTED_FAILURE] decoding one UTF-8 chunk should give one output string - ArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] decoding an empty chunk should give no output chunks - ArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an initial empty chunk should be ignored - ArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a trailing empty chunk should be ignored- ArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] decoding one UTF-8 chunk should give one output string - SharedArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] decoding an empty chunk should give no output chunks - SharedArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an initial empty chunk should be ignored - SharedArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a trailing empty chunk should be ignored- SharedArrayBuffer
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] decoding a transferred Uint8Array chunk should give no output
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] decoding a transferred ArrayBuffer chunk should give no output
No implementation of TextDecoderStream and TextEncoderStream
---- streams/encode-utf8.any.js ----
[EXPECTED_FAILURE] encoding one string of UTF-8 should give one complete chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a character split between chunks should be correctly encoded
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a character following one split between chunks should be correctly encoded
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] two consecutive astral characters each split down the middle should be correctly reassembled
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] two consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a stream ending in a leading surrogate should emit a replacement character as a final chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] two leading chunks should result in two replacement characters
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a non-terminal unpaired leading surrogate should immediately be replaced
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a terminal unpaired trailing surrogate should immediately be replaced
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a leading surrogate chunk should be carried past empty chunks
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a leading surrogate chunk should error when it is clear it didn't form a pair
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] an empty string should result in no output chunk
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a leading empty chunk should be ignored
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a trailing empty chunk should be ignored
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] a plain ASCII chunk should be converted
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] characters in the ISO-8859-1 range should be encoded correctly
No implementation of TextDecoderStream and TextEncoderStream
---- streams/decode-ignore-bom.any.js ----
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-8, split at character 0
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-8, split at character 1
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-8, split at character 2
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-8, split at character 3
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16le, split at character 0
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16le, split at character 1
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16le, split at character 2
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16le, split at character 3
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16be, split at character 0
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16be, split at character 1
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16be, split at character 2
No implementation of TextDecoderStream and TextEncoderStream
[EXPECTED_FAILURE] ignoreBOM should work for encoding utf-16be, split at character 3
No implementation of TextDecoderStream and TextEncoderStream
---- api-invalid-label.any.js ----
[UNCAUGHT] 
location is not defined
/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-invalid-label.any.js:467
  if (location.search) {
  ^

ReferenceError: location is not defined
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-invalid-label.any.js:467:3
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-invalid-label.any.js:522:3
    at Script.runInContext (vm.js:142:20)
    at Object.runInContext (vm.js:281:6)
    at WPTRunner.runJsTests (/Users/bfarias/Documents/oss/node/test/common/wpt.js:351:12)
    at Object.<anonymous> (/Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js:16:8)
    at Module._compile (internal/modules/cjs/loader.js:1202:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1222:10)
    at Module.load (internal/modules/cjs/loader.js:1051:32)
    at Function.Module._load (internal/modules/cjs/loader.js:947:14)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-invalid-label.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: csiso2022kr
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "csiso2022kr" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: hz-gb-2312
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "hz-gb-2312" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: iso-2022-cn
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-2022-cn" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: iso-2022-cn-ext
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-2022-cn-ext" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: iso-2022-kr
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-2022-kr" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- api-replacement-encodings.any.js ----
[FAILURE] Label for "replacement" should be rejected by API: replacement
assert_throws_js: function "function() { new TextDecoder(label); }" threw object "RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "replacement" encoding is not supported" ("RangeError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:472:17)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/api-replacement-encodings.any.js:471:13
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js api-replacement-encodings.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: DataView, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of DataView" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: DataView, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of DataView" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int8Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int8Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int8Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int8Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int16Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int16Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int16Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int16Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int32Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Int32Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Int32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint16Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint16Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint16Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint16Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint32Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint32Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint8ClampedArray, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint8ClampedArray" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Uint8ClampedArray, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Uint8ClampedArray" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Float32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Float32Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Float32Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Float64Array, backed by: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Float64Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: Float64Array, backed by: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new view(new self[arrayBufferOrSharedArrayBuffer](0)))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of Float64Array" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:131:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:130:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: ArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new self[arrayBufferOrSharedArrayBuffer](10))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of ArrayBuffer" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:138:5)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:137:3
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- encodeInto.any.js ----
[FAILURE] Invalid encodeInto() destination: SharedArrayBuffer
assert_throws_js: function "() => new TextEncoder().encodeInto("", new self[arrayBufferOrSharedArrayBuffer](10))" threw object "TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be an instance of Uint8Array. Received an instance of SharedArrayBuffer" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:138:5)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/encodeInto.any.js:137:3
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js encodeInto.any.js

---- textdecoder-copy.any.js ----
[FAILURE] Modify buffer after passing it in (SharedArrayBuffer)
The "input" argument must be an instance of ArrayBuffer or ArrayBufferView. Received an instance of SharedArrayBuffer
TypeError [ERR_INVALID_ARG_TYPE]: The "input" argument must be an instance of ArrayBuffer or ArrayBufferView. Received an instance of SharedArrayBuffer
    at TextDecoder.decode (internal/encoding.js:410:15)
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-copy.any.js:12:27)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-copy.any.js:2:3
    at Array.forEach (<anonymous>)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-copy.any.js:1:38
    at Script.runInContext (vm.js:142:20)
    at Object.runInContext (vm.js:281:6)
    at WPTRunner.runJsTests (/Users/bfarias/Documents/oss/node/test/common/wpt.js:351:12)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-copy.any.js

---- textdecoder-fatal-streaming.any.js ----
[FAILURE] Fatal flag, non-streaming cases
assert_throws_js: Unterminated utf-8 sequence should throw if fatal flag is set function "function() {
            var decoder = new TextDecoder(testCase.encoding, {fatal: true});
            decoder.decode(new Uint8Array(testCase.sequence));
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal-streaming.any.js:10:9
    at Array.forEach (<anonymous>)
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal-streaming.any.js:8:7)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal-streaming.any.js

---- textdecoder-fatal-streaming.any.js ----
[FAILURE] Fatal flag, streaming cases
assert_throws_js: function "function() {
        decoder.decode(even, {stream: true});
        decoder.decode(odd)
    }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal-streaming.any.js:31:5)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal-streaming.any.js:22:1
    at Script.runInContext (vm.js:142:20)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal-streaming.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid code
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - ends early
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - ends early 2
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail 2
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail 3
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail 4
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail 5
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - invalid trail 6
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - > 0x10FFFF
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - obsolete lead byte
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+0000 - 2 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+0000 - 3 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+0000 - 4 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+0000 - 5 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+0000 - 6 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+007F - 2 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+007F - 3 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+007F - 4 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+007F - 5 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+007F - 6 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+07FF - 3 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+07FF - 4 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+07FF - 5 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+07FF - 6 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 4 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 5 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+FFFF - 6 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+10FFFF - 5 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - overlong U+10FFFF - 6 bytes
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - lead surrogate
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - trail surrogate
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-8 - surrogate pair
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Fatal flag: utf-16le - truncated code unit
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:54:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:53:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-fatal.any.js ----
[FAILURE] Error seen with fatal does not prevent future decodes
assert_throws_js: decode() should throw on incomplete sequence function "() => decoder.decode(new DataView(bytes.buffer, 0, 2))" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-8" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:74:3)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-fatal.any.js:68:1
    at Script.runInContext (vm.js:142:20)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-fatal.any.js

---- textdecoder-utf16-surrogates.any.js ----
[FAILURE] utf-16le - lone surrogate lead (fatal flag set)
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:41:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:40:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-utf16-surrogates.any.js

---- textdecoder-utf16-surrogates.any.js ----
[FAILURE] utf-16le - lone surrogate trail (fatal flag set)
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:41:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:40:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-utf16-surrogates.any.js

---- textdecoder-utf16-surrogates.any.js ----
[FAILURE] utf-16le - unmatched surrogate lead (fatal flag set)
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:41:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:40:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-utf16-surrogates.any.js

---- textdecoder-utf16-surrogates.any.js ----
[FAILURE] utf-16le - unmatched surrogate trail (fatal flag set)
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:41:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:40:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-utf16-surrogates.any.js

---- textdecoder-utf16-surrogates.any.js ----
[FAILURE] utf-16le - swapped surrogate pair (fatal flag set)
assert_throws_js: function "function() {
            new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array(t.input))
        }" threw object "TypeError [ERR_ENCODING_INVALID_ENCODED_DATA]: The encoded data was not valid for encoding utf-16le" ("TypeError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:41:9)
    at Test.step (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:1956:25)
    at test (/Users/bfarias/Documents/oss/node/test/fixtures/wpt/resources/testharness.js:548:30)
    at /Users/bfarias/Documents/oss/node/test/fixtures/wpt/encoding/textdecoder-utf16-surrogates.any.js:40:5
    at Array.forEach (<anonymous>)
Command: /Users/bfarias/Documents/oss/node/out/Release/node  /Users/bfarias/Documents/oss/node/test/wpt/test-encoding.js textdecoder-utf16-surrogates.any.js

@joyeecheung
Copy link
Member

@bmeck You can edit test/wpt/status/encoding.json to skip the failed tests: https://github.com/nodejs/node/tree/master/test/wpt#format-of-a-status-json-file

@bmeck bmeck closed this May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding Issues and PRs related to the TextEncoder and TextDecoder APIs. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants