mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: https://github.com/nodejs/node/issues/25315 PR-URL: https://github.com/nodejs/node/pull/30132 Reviewed-By: Gus Caplan <me@gus.host>
52 lines
1.4 KiB
JSON
52 lines
1.4 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"],
|
|
"fail": "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"],
|
|
"fail": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"textdecoder-labels.any.js": {
|
|
"requires": ["full-icu"],
|
|
"fail": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"textencoder-constructor-non-utf.any.js": {
|
|
"requires": ["full-icu"],
|
|
"fail": "The iso-8859-16 encoding is not supported"
|
|
},
|
|
"idlharness.any.js": {
|
|
"fail": "No implementation of TextDecoderStream and TextEncoderStream"
|
|
},
|
|
"replacement-encodings.any.js": {
|
|
"skip": "decoding-helpers.js needs XMLHttpRequest"
|
|
},
|
|
"unsupported-encodings.any.js": {
|
|
"skip": "decoding-helpers.js needs XMLHttpRequest"
|
|
},
|
|
"streams/*.js": {
|
|
"fail": "No implementation of TextDecoderStream and TextEncoderStream"
|
|
}
|
|
}
|