You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using this js in my web application however in chrome i always get this error. When i clear localastorage first time it works fine as soon as i open second tab with same web app url i am getting "Uncaught Error: crosstab not supported: frozen tab environment detected" message in console.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I ran into this issue and I am not exactly sure how I got into this state and I have not been able to reproduce it. However, once I got into this frozen state I couldn't get out. I ended up having to manually remove the frozen and supported keys from the localStorage manually. Until I cleared it none of my tabs could send data out.
I am not exactly sure what the point of this frozen state is and what the point of locking down communication. I would like to look into the issue further and perhaps provide some improvements/fixes for it, but I would like to better understand the original intention of doing this.
The intention of it was to discover if javascript was being run in an environment which freezes execution while the window is not active, as is the case on mobile phones. In this case, communication cannot happen between tabs on localStorage, because the tab that's backgrounded is in a frozen state.
The mechanism for detecting this is to see if sending a PING to the current master resolves within an acceptable timeout. If it does not, it is aggressively cached to not check in the future and avoid adding latency.
There is currently no timeout in localStorage for how long to go before checking. This is resolved in version 0.3.0, however I have not had the time or motivation to continue working on this project while localStorage remains broken on IE and Edge in Windows 8/10.
Hi,
I am using this js in my web application however in chrome i always get this error. When i clear localastorage first time it works fine as soon as i open second tab with same web app url i am getting "Uncaught Error: crosstab not supported: frozen tab environment detected" message in console.
Any suggestions?
The text was updated successfully, but these errors were encountered: