In normal browsers the Storage event Listener working and triggering properly
Event listener code is given below
window.addEventListener('storage', function (e) {
console.log("storage event occured here");
},false);
Storage change by using
localStorage.setItem('logout-event', 'logout'+Math.random());
When any changes made in local storage its trigger other browser tab storage event properly. But when I tried same code in Incognito or Private window its working propely in chrome and mozilla browsers but not in Edge and Internet Explorer browsers
But in case Of IE, Edge and Brave browser private windows this event is not triggered in my website. In other browsers its working as per expected.
Is there any way to make it work in the incognito window of IE and Edge browsers