util: move TextEncoder class to C++ #72385
Triggered via pull request
February 11, 2026 19:41
Status
Failure
Total duration
1h 0m 31s
Artifacts
–
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/wpt/test-encoding.js#L0
--- stderr ---
/Users/runner/work/node/node/node/test/common/wpt.js:802
throw new Error(
^
Error: Found 1 unexpected failures. Consider updating test/wpt/status/encoding.json for these files:
idlharness.any.js
at process.<anonymous> (/Users/runner/work/node/node/node/test/common/wpt.js:802:15)
at process.emit (node:events:508:20)
Node.js v26.0.0-pre
--- stdout ---
[SKIPPED] idlharness-shadowrealm.window.js: ShadowRealm support is not enabled
[SKIPPED] iso-2022-jp-decoder.any.js: iso-2022-jp decoder state handling bug: https://encoding.spec.whatwg.org/#iso-2022-jp-decoder
[SKIPPED] legacy-mb-schinese/gb18030/gb18030-decoder.any.js: The gb18030 encoding is not supported
[SKIPPED] legacy-mb-schinese/gbk/gbk-decoder.any.js: The gbk encoding is not supported
[SKIPPED] replacement-encodings.any.js: decoding-helpers.js needs XMLHttpRequest
[SKIPPED] single-byte-decoder.window.js?XMLHttpRequest: document is not defined
[SKIPPED] single-byte-decoder.window.js?TextDecoder: document is not defined
[SKIPPED] single-byte-decoder.window.js?document: document is not defined
[SKIPPED] streams/invalid-realm.window.js: document is not defined
[SKIPPED] streams/realms.window.js: window is not defined
[SKIPPED] textdecoder-fatal-single-byte.any.js?1-1000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?1001-2000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?2001-3000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?3001-4000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?4001-5000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?5001-6000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?6001-7000: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-fatal-single-byte.any.js?7001-last: The iso-8859-16 encoding is not supported
[SKIPPED] textdecoder-labels.any.js: The iso-8859-16 encoding is not supported
[SKIPPED] textencoder-constructor-non-utf.any.js: The iso-8859-16 encoding is not supported
[SKIPPED] unsupported-encodings.any.js: decoding-helpers.js needs XMLHttpRequest
[SKIPPED] unsupported-labels.window.js: document is not defined
[PASS] Default encodings
[PASS] Default inputs
[PASS] Encode/decode round trip: utf-8
[PASS] Decode sample: utf-16le
[PASS] Decode sample: utf-16be
[PASS] Decode sample: utf-16
[PASS] Invalid label "invalid-invalidLabel" should be rejected by TextDecoder.
[PASS] Invalid label "\0unicode-1-1-utf-8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode-1-1-utf-8\0" should be rejected by TextDecoder.
[PASS] Invalid label "\0unicode-1-1-utf-8\0" should be rejected by TextDecoder.
[PASS] Invalid label "\vunicode-1-1-utf-8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode-1-1-utf-8\v" should be rejected by TextDecoder.
[PASS] Invalid label "\vunicode-1-1-utf-8\v" should be rejected by TextDecoder.
[PASS] Invalid label " unicode-1-1-utf-8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode-1-1-utf-8 " should be rejected by TextDecoder.
[PASS] Invalid label " unicode-1-1-utf-8 " should be rejected by TextDecoder.
[PASS] Invalid label "
unicode-1-1-utf-8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode-1-1-utf-8
" should be rejected by TextDecoder.
[PASS] Invalid label "
unicode-1-1-utf-8
" should be rejected by TextDecoder.
[PASS] Invalid label "
unicode-1-1-utf-8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode-1-1-utf-8
" should be rejected by TextDecoder.
[PASS] Invalid label "
unicode-1-1-utf-8
" should be rejected by TextDecoder.
[PASS] Invalid label "\0unicode11utf8" should be rejected by TextDecoder.
[PASS] Invalid label "unicode11utf8\0" should be rejected by TextDecoder.
[PASS] Invalid label "\0unicode11utf8\0" should be rejected by TextDecoder.
[PASS] Invalid label "\vunicode11utf8" should be rejected by TextDecoder.
[PASS] Invalid
|
|
sccache stats
72% - 3511 hits, 1352 misses, 0 errors
|