I've got an application that needs to support IE8 (with Google Chrome Frame), that will make cross-domain requests. I understand regular IE8 makes use of XDomainRequest for these calls, but when using Chrome Frame and looking through the console, I don't see XDomainRequest listed in the window object.
Since I'm using Chrome Frame, I understand I'm using the Chrome JavaScript engine... but does this mean I should be able to use XMLHTTPRequest for CORS? When I try that, I get a cross-domain error in the console.
Can someone clarify how this should be working? I'm confused.
IE 8 doesn't support CORS, but you can look into JSONP if you're only doing Get requests. There are however a few security concerns with JSONP though. Another approach is doing a reverse proxy which means you create a page/service on your own domain that in turn makes the request to the other domain. This gets around the cross domain issue since the browser requests a resource on your domain.