Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

useXDomain gone? #2956

Closed
davecranwell opened this issue Jun 13, 2013 · 2 comments
Closed

useXDomain gone? #2956

davecranwell opened this issue Jun 13, 2013 · 2 comments

Comments

@davecranwell
Copy link

I've been trying to get CORS working in IE8/9 with Angular 1.1.5 without success. Googling has thrown up lots of recommendations of how to achieve it with Angular-specific configs and having tried everything the only thing that seems to reliably work in jsfiddle examples is the $http.defaults.useXDomain="true" configuration.

I've been trying this with Angular 1.1.5 (previously found jsfiddle examples were 1.0) and failing to make it work, but having just searched the 1.1.5 codebase, it seems the string "useXDomain" isn't even present.

This previous issue seems related but I'm not clear what the outcome of the thread was: #1047

Is the IE8/9 useXDomain hack no longer supported in 1.1.5?

@recaihazer
Copy link

We need CORS working in IE8/9 with Angular 1.1.5 :(

Could we override angularJS service? We want to use this branch service https://github.com/ricardohbin/angular.js/tree/useXDomain

@pkozlowski-opensource
Copy link
Member

@davecranwell the useXDomain "hack" never made it into the AngularJS codebase - there was a pull request #1047 with it but it was never merged - see the comments in this PR as to why.

There is an issue opened already for CORS support in IE with the XDomainRequest but I'm not sure it will be added to the core. Let's move this discussion to #934 as this issue is a duplicate of #934

edmorley pushed a commit to mozilla/treeherder that referenced this issue Mar 22, 2017
`useXDomain` never actually did anything since the PR that proposed it
was never merged:
angular/angular.js#2956 (comment)

And deleting the 'X-Requested-With' header isn't required as of
Angular >1.1.x :
angular/angular.js#11008
angular/angular.js@3a75b11
edmorley pushed a commit to mozilla/treeherder that referenced this issue Mar 28, 2017
`useXDomain` never actually did anything since the PR that proposed it
was never merged:
angular/angular.js#2956 (comment)

And deleting the 'X-Requested-With' header isn't required as of
Angular >1.1.x :
angular/angular.js#11008
angular/angular.js@3a75b11
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants