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

fix(fetch): fix ReadableStream couldn't be contructed bewteen chrome 43 and 52 #6432

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

yuzheng14
Copy link

The ReadableStream API is available in Chrome 43, but it can only be constructed starting from Chrome 52.

see: MDN ReadableStream browser_compatibility

image

Therefore, if Axios is used in a version of Chrome between 43 and 52 (for example, one of my production environments uses Chrome 48), it will result in an Uncaught TypeError: Illegal constructor, causing a white screen problem.

@yuzheng14
Copy link
Author

@DigitalBrainJS Could you please take some time to review this pull request?

@GitOfZGT
Copy link

I'm also having this issue and it's urgent.

@yuzheng14
Copy link
Author

I'm also having this issue and it's urgent.

团队成员已经一个月没见活跃过了orz

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.

None yet

2 participants