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
HttpProvider.sendAsync() causes InvalidStateError in IE 11
HttpProvider.sendAsync()
It seems that IE has a problem when request.timeout is set before request.open(). See lib/web3/httpprovider.js:
request.timeout
request.open()
lib/web3/httpprovider.js
HttpProvider.prototype.prepareRequest = function(async) { var request; if (async) { request = new XHR2(); request.timeout = this.timeout; // <-- IE11 needs this after request.open() } else { request = new XMLHttpRequest(); } request.open('POST', this.host, async);
Note: The same issue has been reported in other projects: stephanebachelier/superapi#5 and airbrake/airbrake-js#302
The text was updated successfully, but these errors were encountered:
This got fixed here: 0207369.
Sorry, something went wrong.
nivida
No branches or pull requests
HttpProvider.sendAsync()
causes InvalidStateError in IE 11It seems that IE has a problem when
request.timeout
is set beforerequest.open()
.See
lib/web3/httpprovider.js
:Note: The same issue has been reported in other projects: stephanebachelier/superapi#5
and airbrake/airbrake-js#302
The text was updated successfully, but these errors were encountered: