-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
XMLHttpRequest upload (upload.onprogress) event is not supported #573
Comments
I am experiencing the same issue. |
Hi! Thanks for raising this. I've opened a fix at #613, and the XMLHttpRequestInterceptor now correctly emits Important This will not be supported in JSDOM. JSDOM does not implement the |
Released: v0.34.2 🎉This has been released in v0.34.2! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
thank you for explaining the behavior of jsom. it works now. that's amazing and very kind of you, many thanks @kettanaito |
Hi, I noticed that #292 mentioned that interceptor has added support for the upload event of XMLHttpRequest, but I tried to use XHR to upload files in the latest version of msw, and the progress event was not triggered.
By the way, #292 mentions adding support for the progress event, but this only works in response.
I'm wondering if it's possible to add support for the progress event in upload?
Environment
To Reproduce
The text was updated successfully, but these errors were encountered: