Skip to content

util: move TextEncoder class to C++ #3308

util: move TextEncoder class to C++

util: move TextEncoder class to C++ #3308

Triggered via pull request February 11, 2026 19:41
Status Failure
Total duration 1h 1m 37s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
2m 45s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/wpt/test-encoding.js#L0
--- stderr --- /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/wpt/test-encoding.js#L0
--- stderr --- /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/wpt/test-encoding.js#L0
--- stderr --- /home/runner/work/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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 l
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/wpt/test-encoding.js#L0
--- stderr --- /home/runner/work/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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/_temp/node-v26.0.0-nightly2026-02-1140615c8cd1-slim/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" shou

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.8 MB
sha256:459803cbb7238dd0d7db09246380d1acbc39da3a525e981f3e89ac1b1980eb62