-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
XHR.timeout is not implemented #431
Comments
This is not implemented - yet. I assume this is from the xhr2 spec? Do you know the browser support situation, and if it can be feature detected? |
Oh, I didn't know it was a new feature. It seems to be everywhere except for Safari: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#Browser_Compatibility |
I think you could detect it just by:
|
Safari 7.0.6 supports xhr.timeout. |
No updates on this? |
PR welcome! |
It's been more than 500 days since last activity on this. I am closing it. If anyone wants to create a PR that would be great |
In this example,
the timeout property does not seem to be implemented by Sinon's fake XHR. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#Properties
I was expecting it to trigger the
timeout
event. It would be nice if this were implemented or at least documented as such.I'm using Sinon from node @1.9.0
The text was updated successfully, but these errors were encountered: