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
Right, sessionStorage is not shared across tabs. The way I solved it is by using localStorage events. When a user opens a new tab, we first ask any other tab that is opened if he already have the sessionStorage for us.
# View sessionStorage keys and valuesClick the Application tab to open the Application panel. Expand the Session Storage menu. Click a domain to view its key-value pairs. Click a row of the table to view the value in the viewer below the table.
Open a new tab Or, use a keyboard shortcut: Windows & Linux: Ctrl + t. Mac: ⌘ + t.
The sessionStorage object stores data for only one session. (The data is deleted when the browser is closed).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With