- From: berniegp <notifications@github.com>
- Date: Tue, 18 Oct 2016 18:06:02 -0700
- To: whatwg/xhr <xhr@noreply.github.com>
Received on Wednesday, 19 October 2016 01:06:33 UTC
Step 4 of [send()](https://xhr.spec.whatwg.org/#the-send()-method) states: > 5) If one or more event listeners are registered on the associated XMLHttpRequestUpload object, then set upload listener flag. Therefore, if any event listeners are added after `send()`, they should be ignored. I find this counter-intuitive; why prevent later event handlers from receiving events? In any case, the browser behavior (tested in latest Firefox and Chrome) does not match the spec. Form what I can see, the upload listener flag is probably only used to set the `use-CORS-preflight flag`. I suggest removing mentions of the upload listener flag where it determines whether to fire upload progress events. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/xhr/issues/95
Received on Wednesday, 19 October 2016 01:06:33 UTC