When a tab is duplicated in Chrome, is sessionStorage
also duplicated?
I noticed that in IE it is not.
When a tab is duplicated in Chrome, is sessionStorage
also duplicated?
I noticed that in IE it is not.
In Chrome, Yes. And you've hit on an important distinction. The contents of sessionStorage
is "copied" not "shared". Any changes made to sessionStorage
after the tab is duplicated are not reflected in the other tab's sessionStorage
.
Yes, if you duplicate the tab, the sessionStorage data is also duplicated on the copied tab.
© 2022 - 2024 — McMap. All rights reserved.