We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In IE8, the value of typeof document.createElemen is object, not function so this isStandardBrowserEnv returns false.
typeof document.createElemen
object
function
isStandardBrowserEnv
false
function isStandardBrowserEnv() { return ( typeof window !== 'undefined' && typeof document !== 'undefined' && typeof document.createElement !== 'function' ); }
Because of this wrong determine, XDomainRequest is not working in IE8. I made a pull request for fix this, but failed to pass the CI.
The text was updated successfully, but these errors were encountered:
Fix bug with isStandardBrowserEnv (axios#597)
a87e0b7
Fixed by #731. Thank you!
Sorry, something went wrong.
No branches or pull requests
In IE8, the value of
typeof document.createElemen
isobject
, notfunction
so thisisStandardBrowserEnv
returnsfalse
.Because of this wrong determine, XDomainRequest is not working in IE8. I made a pull request for fix this, but failed to pass the CI.
The text was updated successfully, but these errors were encountered: