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
Don't fire "progress" event for sync XHR #208
Conversation
Only fire a "progress" event during "handle response end-of-body" for asynchronous XHR. This matches existing browser behaviour. Test at web-platform-tests/wpt#10887. Closes whatwg#207.
Apart from Firefox, right? |
Firefox seems to be consistently passing the test I wrote, so its compatible, I guess? When I tested it before I was using the developer console, which can have odd side effects. Edit: The test was wrong. Having updated the test, Firefox consistently passes on the main thread and fails in a worker. I didn't test workers earlier, so I can imagine some other browsers might have the same issue. |
Thanks! |
…vent, a=testonly Automatic update from web-platform-testsXHR: sync XMLHttpRequest does not fire an event named progress For whatwg/xhr#208. -- wpt-commits: 10f586a6d2f606b86310ba05da18ed13a78c67f4 wpt-pr: 10887
…vent, a=testonly Automatic update from web-platform-testsXHR: sync XMLHttpRequest does not fire an event named progress For whatwg/xhr#208. -- wpt-commits: 10f586a6d2f606b86310ba05da18ed13a78c67f4 wpt-pr: 10887
…vent, a=testonly Automatic update from web-platform-testsXHR: sync XMLHttpRequest does not fire an event named progress For whatwg/xhr#208. -- wpt-commits: 10f586a6d2f606b86310ba05da18ed13a78c67f4 wpt-pr: 10887 UltraBlame original commit: 816d4ef0a3dea89726812659ab06b401a4d7f94e
…vent, a=testonly Automatic update from web-platform-testsXHR: sync XMLHttpRequest does not fire an event named progress For whatwg/xhr#208. -- wpt-commits: 10f586a6d2f606b86310ba05da18ed13a78c67f4 wpt-pr: 10887 UltraBlame original commit: 816d4ef0a3dea89726812659ab06b401a4d7f94e
…vent, a=testonly Automatic update from web-platform-testsXHR: sync XMLHttpRequest does not fire an event named progress For whatwg/xhr#208. -- wpt-commits: 10f586a6d2f606b86310ba05da18ed13a78c67f4 wpt-pr: 10887 UltraBlame original commit: 816d4ef0a3dea89726812659ab06b401a4d7f94e
Only fire a "progress" event during "handle response end-of-body" for
asynchronous XHR. This matches existing browser behaviour.
Test at web-platform-tests/wpt#10887.
Closes #207.
Preview | Diff