sessionStorage
版本历史
| 版本 | 变更 |
|---|---|
| v25.0.0 | 此 API 不再依赖于 |
| v22.4.0 | 新增于: v22.4.0 |
稳定性: 1.2 - 发布候选。使用
--experimental-webstorage 启用此 API。\Stability: 1.2 - Release candidate. Enable this API with --experimental-webstorage.
sessionStorage 的浏览器兼容实现。数据存储在内存中,存储配额为 10 MB。sessionStorage 数据仅在当前正在运行的进程中保留,不会在工作进程之间共享。
\A browser-compatible implementation of sessionStorage. Data is stored in
memory, with a storage quota of 10 MB. sessionStorage data persists only within
the currently running process, and is not shared between workers.