Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add more details for localStorage and sessionStorage #53881

Merged
merged 27 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
04058ef
doc: add more details for localStorage and sessionStorage
Rekl0w Jul 17, 2024
5a26e30
doc: update details for `localstorage`
Rekl0w Jul 17, 2024
bb43e89
doc: update `localStorage` and `sessionStorage`
Rekl0w Jul 17, 2024
a16e2b7
doc: remove browser infos from `localStorage` and `sessionStorage`
Rekl0w Jul 17, 2024
071dd6b
Update doc/api/globals.md
Rekl0w Jul 17, 2024
10aae0f
Update doc/api/globals.md
Rekl0w Jul 17, 2024
e67044c
Update doc/api/globals.md
Rekl0w Jul 18, 2024
ff8d3e0
doc: revert `simultaneously`
Rekl0w Jul 18, 2024
034d00e
doc: update `localStorage` and `sessionStorage`
Rekl0w Jul 18, 2024
0f5357b
doc: lint fix
Rekl0w Aug 15, 2024
1c1e024
Update doc/api/globals.md
Rekl0w Aug 21, 2024
ba117c2
Update doc/api/globals.md
Rekl0w Aug 21, 2024
77fc563
Update doc/api/globals.md
Rekl0w Aug 21, 2024
314a62f
Update doc/api/globals.md
Rekl0w Aug 21, 2024
1bb4f50
Update doc/api/globals.md
Rekl0w Aug 21, 2024
8c2da93
Update doc/api/globals.md
Rekl0w Aug 21, 2024
683ee9f
Update doc/api/globals.md
Rekl0w Aug 21, 2024
5d6e9b6
Update doc/api/globals.md
Rekl0w Aug 21, 2024
7b497da
Update doc/api/globals.md
Rekl0w Aug 21, 2024
43ae345
Update doc/api/globals.md
Rekl0w Aug 21, 2024
58977b7
Update doc/api/globals.md
Rekl0w Aug 23, 2024
bb2275c
doc: re-add `webassembly-org`
Rekl0w Aug 23, 2024
a03e286
doc: fix `single session` to `single context`
Rekl0w Aug 23, 2024
8bae3e7
Revert "doc: fix `single session` to `single context`"
Rekl0w Aug 23, 2024
9c06414
Update globals.md
Rekl0w Aug 23, 2024
7c3ead3
Update globals.md
Rekl0w Aug 26, 2024
20cf144
Update doc/api/globals.md
cjihrig Aug 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ added: v22.4.0

The file used to store `localStorage` data. If the file does not exist, it is
created the first time `localStorage` is accessed. The same file may be shared
between multiple Node.js processes concurrently. This flag is a no-op unless
between multiple Node.js processes simultaneously. This flag is a no-op unless
Rekl0w marked this conversation as resolved.
Show resolved Hide resolved
Node.js is started with the `--experimental-webstorage` flag.

### `--max-http-header-size=size`
Expand Down
5 changes: 3 additions & 2 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ added: v22.4.0

A browser-compatible implementation of [`localStorage`][]. Data is stored
Rekl0w marked this conversation as resolved.
Show resolved Hide resolved
unencrypted in the file specified by the [`--localstorage-file`][] CLI flag.
The maximum amount of data that can be stored is 10MB.
Rekl0w marked this conversation as resolved.
Show resolved Hide resolved
Any modification of this data outside of the Web Storage API is not supported.
Enable this API with the [`--experimental-webstorage`][] CLI flag.

Expand Down Expand Up @@ -972,8 +973,8 @@ added: v22.4.0
> Stability: 1.0 - Early development.

A browser-compatible implementation of [`sessionStorage`][]. Data is stored in
memory, with a storage quota of 10 MB. Any modification of this data outside of
the Web Storage API is not supported. Enable this API with the
memory, with a storage quota of 10 MB. `sessionStorage` data persists only within
the currently running process, and is not shared between workers.
[`--experimental-webstorage`][] CLI flag.

## `setImmediate(callback[, ...args])`
Expand Down