I just stumbled upon a problem where Chrome suddenly stopped propagating session storage information when application opened a new tab This was working fine before then stopped after Chrome 89 update.
Has anyone encountered this issue yet?
Thanks
I just stumbled upon a problem where Chrome suddenly stopped propagating session storage information when application opened a new tab This was working fine before then stopped after Chrome 89 update.
Has anyone encountered this issue yet?
Thanks
Found the solution in the meantime.
Chrome started changing the behaviour of tabs with target "_blank" recently.
the HTML standard changed to specify that anchors that target _blank should behave as if |rel="noopener"| is set. https://www.chromestatus.com/feature/6140064063029248
The solution is to add rel="opener" if you want the session to be carried over to the new tab.
Stop cloning sessionStorage for windows opened with noopener https://developer.chrome.com/blog/deps-rems-89/#stop-cloning-sessionstorage-for-windows-opened-with-noopener
Add attribute rel="opener"
.
<a href="http://xxx" target="_blank" rel="opener">Link</a>
© 2022 - 2024 — McMap. All rights reserved.