Re: XMLHttpRequest and timing of upload events

2015-04-21 Thread Anne van Kesteren
On Mon, Apr 20, 2015 at 2:00 PM, Hallvord Reiar Michaelsen Steen hst...@mozilla.com wrote: On Tue, May 20, 2014 at 2:55 PM, Anne van Kesteren ann...@annevk.nl wrote: Because redirects are atomic, we cannot dispatch loadend events and such on the XMLHttpRequestUpload class. Does this change

Re: XMLHttpRequest and timing of upload events

2015-04-20 Thread Hallvord Reiar Michaelsen Steen
Hi Anne, sorry to be late at responding - just going through some E-mail I didn't have time to understand and respond to before.. On Tue, May 20, 2014 at 2:55 PM, Anne van Kesteren ann...@annevk.nl wrote: Because redirects are atomic, we cannot dispatch loadend events and such on the

XMLHttpRequest and timing of upload events

2014-05-20 Thread Anne van Kesteren
Because redirects are atomic, we cannot dispatch loadend events and such on the XMLHttpRequestUpload class. This effectively means that the moment we know we are not going to follow a redirect, we know we completed uploading (potentially several times). From what I observed in Safari/Chrome it