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
It seems IE 10, 11 and Edge all have issue with the way StorageEvent is being used - as a constructor.
This breaks session storage in those browsers. The only way to get it to work is to polyfill StorageEvent to act as a function (constructor), with something like:
(function(){try{newwindow.StorageEvent("storage");}catch(e){console.log('Using a polyfill for StorageEvent.');functionStorageEvent(event,params){varevt=document.createEvent('StorageEvent');returnevt;}StorageEvent.prototype=window.StorageEvent.prototype;window.StorageEvent=StorageEvent;}})();
The text was updated successfully, but these errors were encountered:
It seems IE 10, 11 and Edge all have issue with the way
StorageEvent
is being used - as a constructor.This breaks session storage in those browsers. The only way to get it to work is to polyfill StorageEvent to act as a function (constructor), with something like:
The text was updated successfully, but these errors were encountered: