mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
3111ed7011
Align TextDecoderStream behavior with WPT requirements by treating undefined chunks as errors. This change ensures that TextDecoderStream properly handles unexpected chunk types and throws an error when receiving undefined input. This update addresses the failing WPT for decode stream error handling. PR-URL: https://github.com/nodejs/node/pull/55153 Reviewed-By: Mattias Buelens <mattias@buelens.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"api-basics.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-fatal-streaming.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-fatal.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-ignorebom.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-streaming.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-utf16-surrogates.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"iso-2022-jp-decoder.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder"
|
|
},
|
|
"textdecoder-byte-order-marks.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-fatal-single-byte.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"textdecoder-labels.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"textencoder-constructor-non-utf.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"idlharness.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"idlharness-shadowrealm.window.js": {
|
|
"skip": "ShadowRealm support is not enabled"
|
|
},
|
|
"replacement-encodings.any.js": {
|
|
"skip": "decoding-helpers.js needs XMLHttpRequest"
|
|
},
|
|
"unsupported-encodings.any.js": {
|
|
"skip": "decoding-helpers.js needs XMLHttpRequest"
|
|
},
|
|
"streams/decode-ignore-bom.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"streams/invalid-realm.window.js": {
|
|
"skip": "document is not defined"
|
|
},
|
|
"streams/realms.window.js": {
|
|
"skip": "window is not defined"
|
|
},
|
|
"streams/decode-attributes.any.js": {
|
|
"requires": ["full-icu"]
|
|
},
|
|
"streams/decode-incomplete-input.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"streams/decode-utf8.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"streams/decode-non-utf8.any.js": {
|
|
"requires": ["full-icu"]
|
|
},
|
|
"encodeInto.any.js": {
|
|
"fail": {
|
|
"expected": [
|
|
"Invalid encodeInto() destination: Float16Array, backed by: ArrayBuffer",
|
|
"Invalid encodeInto() destination: Float16Array, backed by: SharedArrayBuffer"
|
|
]
|
|
},
|
|
"requires": ["small-icu"]
|
|
},
|
|
"textdecoder-copy.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"legacy-mb-schinese/gbk/gbk-decoder.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "The gbk encoding is not supported"
|
|
},
|
|
"legacy-mb-schinese/gb18030/gb18030-decoder.any.js": {
|
|
"requires": ["full-icu"],
|
|
"skip": "The gb18030 encoding is not supported"
|
|
},
|
|
"textdecoder-arguments.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"single-byte-decoder.window.js": {
|
|
"skip": "document is not defined"
|
|
},
|
|
"textdecoder-eof.any.js": {
|
|
"requires": ["small-icu"]
|
|
},
|
|
"unsupported-labels.window.js": {
|
|
"skip": "document is not defined"
|
|
}
|
|
}
|