Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE11 making XHR requests for new URL after url change via history API navigation

$
0
0

Our single-page app must support IE 11. This app uses the HTML 5 history API (pushState, etc) for changing the URL without page loads when navigating around. I've noticed that whenever these URL changes occur, I see a security error logged in the console for a failed network request (CORS related). It appears the IE11 is trying to do an XHR requestfor the new URL! Obviously this is not something that I want to happen.

Why is IE11 trying to do an XHR fetch a page after the URL change? Is there a way to get it to not do this? This is causing tons of error logging spam for us.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>