-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Description
Describe the bug
Progress event not emitted
const xhr = new XMLHttpRequest()
// ... uploading logic ... //
xhr.upload.addEventListener('progress', (event) => {
console.log('Progress') // This callback not called
})
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-8t5mbf?file=src%2Fdemo.ts,src%2Fserver.js
Steps to reproduce
- Open sandbox
- Press "Click here to start"
- Press "Upload button"
Expected behavior
I expect that it's work the same way as it works in real live (on my local machine for example) - event emitted, callback called, I can read event data.
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
Platform
Browser name = Firefox
Full version = 131.0.2 (64-bit)
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
performance.memory = undefined
Hash = 34c588ed
Also tested on
Browser name = Chrome
Full version = 129.0.6668.100
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels