Skip to content

util: move TextEncoder class to C++ #80959

util: move TextEncoder class to C++

util: move TextEncoder class to C++ #80959

Triggered via pull request February 11, 2026 19:41
Status Failure
Total duration 56m 55s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/wpt/test-encoding.js#L0
--- stderr --- /home/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> (/home/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 l
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/wpt/test-encoding.js#L0
--- stderr --- /home/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> (/home/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] 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 label "unicode11utf8\v" should be rejected by TextDecoder. [PASS] Invalid label "\vunicode11utf8\v" should be rejected by TextDecoder. [PASS] Invalid label " unicode11utf8" shou
sccache stats
74% - 3576 hits, 1282 misses, 0 errors
sccache stats
85% - 4111 hits, 734 misses, 0 errors