You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, could you give some guidance on what needs to be done to unflag --experimental-webstorage? I tried setting this option as the default in node_options.cc and node_options.h as shown in the diff:
But the tests in test/parallel/test-webstorage.js are failing and I'm not sure why. I'd appreciate it if you could give me a hint on what I'm missing, thanks!
EDIT:
The tests fail with the following error:
node:internal/webstorage:30
throw new ERR_INVALID_ARG_VALUE('--localstorage-file',
^
TypeError [ERR_INVALID_ARG_VALUE]: The argument '--localstorage-file' is an invalid localStorage location. Received ''
at Object.get [as localStorage] (node:internal/webstorage:30:17)
at get localStorage (node:internal/util:629:20)
at /home/daniel/open_source/node/test/common/index.js:318:17
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/daniel/open_source/node/test/common/index.js:317:3)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14) {
code: 'ERR_INVALID_ARG_VALUE'
}
Node.js v24.0.0-pre
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the
never-staleIssues and PRs exempt from automated stale handling.
label or close this issue if it should be closed. If not, the issue will be automatically closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.
Activity
mcollina commentedon Mar 28, 2025
cc @cjihrig
cjihrig commentedon Mar 28, 2025
SGTM
danielmbrasil commentedon Mar 28, 2025
Hey, could you give some guidance on what needs to be done to unflag
--experimental-webstorage? I tried setting this option as the default innode_options.ccandnode_options.has shown in the diff:This change works when running node directly:
But the tests in
test/parallel/test-webstorage.jsare failing and I'm not sure why. I'd appreciate it if you could give me a hint on what I'm missing, thanks!EDIT:
The tests fail with the following error:
mcollina commentedon Mar 28, 2025
Probably there is something else to fix.
mcollina commentedon Mar 28, 2025
Can you push what you have in a draft PR?
geeksilva97 commentedon Mar 28, 2025
In test/common/index.js it adds localStorage to the globalThis, but this requires the localStorage file.
seems like it has the same effect as
./node -e 'localStorage'danielmbrasil commentedon Mar 28, 2025
@mcollina That's been pushed (#57666)
webstorage: unflag --experimental-webstorage
github-actions commentedon Sep 25, 2025
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the never-staleIssues and PRs exempt from automated stale handling.
label or close this issue if it should be closed. If not, the issue will be automatically closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.
global-client: fix unit tests on Node 25+
fix(web-inspector): make jsdom own localStorage cleanly on Node 25+
fix(web-inspector): make jsdom own localStorage cleanly on Node 25+