javascript - Internet Explorer throwing SecurityError when I call window.history.pushState() -


i getting "securityerror" thrown when call history api in internet explorer , won't continue running.

here code:

if(window.history.pushstate) {         window.history.pushstate({name: 'initial'}, 'initial', ''); } 

that right breaks , can't figure out how around it, internet explorer 10+ supports history api.

any appreciated.


Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -