Skip to content

lib: return undefined for localStorage without file #2203

lib: return undefined for localStorage without file

lib: return undefined for localStorage without file #2203

Triggered via pull request January 11, 2026 09:51
Status Failure
Total duration 1h 12m 17s
Artifacts 1

test-shared.yml

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

Annotations

4 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-global.js#L66
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines + Set(16) { - Set(17) { 'atob', 'btoa', 'clearImmediate', 'clearInterval', 'clearTimeout', ... 'global', - 'localStorage', 'navigator', 'performance', 'queueMicrotask', 'sessionStorage', 'setImmediate', at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-11425f9ff417-slim/test/parallel/test-global.js:66:10) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Set(16) { 'global', 'clearImmediate', 'setImmediate', 'clearInterval', 'clearTimeout', 'setInterval', 'setTimeout', 'queueMicrotask', 'structuredClone', 'atob', 'btoa', 'performance', 'fetch', 'crypto', 'navigator', 'sessionStorage' }, expected: Set(17) { 'global', 'queueMicrotask', 'clearImmediate', 'clearInterval', 'clearTimeout', 'atob', 'btoa', 'performance', 'setImmediate', 'setInterval', 'setTimeout', 'structuredClone', 'fetch', 'crypto', 'navigator', 'localStorage', 'sessionStorage' }, operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-01-11425f9ff417-slim/test/parallel/test-global.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-global.js#L66
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines + Set(16) { - Set(17) { 'atob', 'btoa', 'clearImmediate', 'clearInterval', 'clearTimeout', ... 'global', - 'localStorage', 'navigator', 'performance', 'queueMicrotask', 'sessionStorage', 'setImmediate', at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-11425f9ff417-slim/test/parallel/test-global.js:66:10) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Set(16) { 'global', 'clearImmediate', 'setImmediate', 'clearInterval', 'clearTimeout', 'setInterval', 'setTimeout', 'queueMicrotask', 'structuredClone', 'atob', 'btoa', 'performance', 'fetch', 'crypto', 'navigator', 'sessionStorage' }, expected: Set(17) { 'global', 'queueMicrotask', 'clearImmediate', 'clearInterval', 'clearTimeout', 'atob', 'btoa', 'performance', 'setImmediate', 'setInterval', 'setTimeout', 'structuredClone', 'fetch', 'crypto', 'navigator', 'localStorage', 'sessionStorage' }, operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-01-11425f9ff417-slim/test/parallel/test-global.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.6 MB
sha256:b537e26f65ad6814d9f65b9bb30716e75cb6e92383ee57f742adc86130736377