mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
1c739470b5
Closes #11882 BREAKING CHANGE: Previously when `--location` was set, the unique storage key was derived from the the URL of the location instead of just the origin. This change correctly uses just the origin. This may cause previously persisted storage to change its key and data to not be available with the same location as before.
4 lines
119 B
TypeScript
4 lines
119 B
TypeScript
window.sessionStorage.setItem("hello", "deno");
|
|
|
|
console.log(window.localStorage);
|
|
console.log(window.sessionStorage);
|