Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop all Internet Explorer support into a pit of flames! 🔥 IE 🔥 #7184

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

demensky
Copy link
Contributor

BREAKING CHANGE: ajax no longer supports IE

Related issue (if exists): #6367

}
}
}
return xhr.responseType === 'document' ? xhr.responseXML : xhr.response;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, we should just inline this if it's only used in one spot. It's a small amount of code now.

Copy link
Contributor Author

@demensky demensky Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Judging from the specification, the use of responseXML is redundant, since response fully covers our requirements.

Otherwise, if this’s response type is "document", set a document response for this.

So I replaced getXHRResponse(xhr) with xhr.response.

BREAKING CHANGE: `ajax` no longer supports IE
@benlesh benlesh merged commit 4e14361 into ReactiveX:master Mar 7, 2023
@benlesh
Copy link
Member

benlesh commented Mar 7, 2023

Thanks, @demensky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants