Commit 4244f1a 1 parent 327a8f7 commit 4244f1a Copy full SHA for 4244f1a
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -571,8 +571,11 @@ added: v22.4.0
571
571
572
572
A browser-compatible implementation of [ ` localStorage ` ] [ ] . Data is stored
573
573
unencrypted in the file specified by the [ ` --localstorage-file ` ] [ ] CLI flag.
574
+ The maximum amount of data that can be stored is 10 MB.
574
575
Any modification of this data outside of the Web Storage API is not supported.
575
576
Enable this API with the [ ` --experimental-webstorage ` ] [ ] CLI flag.
577
+ ` localStorage ` data is not stored per user or per request when used in the context
578
+ of a server, it is shared across all users and requests.
576
579
577
580
## ` MessageChannel `
578
581
@@ -951,9 +954,8 @@ added: v22.4.0
951
954
> Stability: 1.0 - Early development.
952
955
953
956
A browser-compatible implementation of [ ` sessionStorage ` ] [ ] . Data is stored in
954
- memory, with a storage quota of 10 MB. Any modification of this data outside of
955
- the Web Storage API is not supported. Enable this API with the
956
- [ ` --experimental-webstorage ` ] [ ] CLI flag.
957
+ memory, with a storage quota of 10 MB. ` sessionStorage ` data persists only within
958
+ the currently running process, and is not shared between workers.
957
959
958
960
## ` setImmediate(callback[, ...args]) `
959
961
You can’t perform that action at this time.
0 commit comments