hi
I am using window.locastorage in order to perform tab communication -
when a value of the locastorage changes I know a new tab was opened
everything is working perfectly for chrome, firefox and all ie versions
but only on ie 11 windows 8.1 it seems the data is not shared between tabs and behaves like session storage
see my code:
window.localStorage.setItem('csmg', csmg);
....
[event code]
if (csmg !== window.localStorage.getItem('csmg')) {
....
on ie 11 windows 8.1 ( checked several ie11 versions)
this parameter is different per tab
so I cant know if one tab updated this item or not
on all versions of ie ( including 11 ) on different machines - including windows xp (ie8!) and windowns server all versions this works perfectly
you can do a simple test to verify:
open a tab on ie 11 win 8.1 ( i used modern.ie virtual box download )
in the console write: window.localStorage.setItem('test',1)
open a new tab on the same window
in the console write: window.localStorage.getItem('test')
empty/ undefined
this is against the described behavior in html 5 specification and different from ie versions on all other windows versions
does someone know about this behavior and if this will be fixed soon?