Re: XMLHttpRequest and timing of upload events

On Mon, Apr 20, 2015 at 2:00 PM, Hallvord Reiar Michaelsen Steen
<hsteen@mozilla.com> wrote:
> On Tue, May 20, 2014 at 2:55 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> Because redirects are atomic, we cannot dispatch loadend events and
>> such on the XMLHttpRequestUpload class.
>
> Does this change mean we can no longer send 'loadend' on the upload object?
> How is a script supposed to know when the upload phase is finished, then?
> Isn't this a functionality we should try to keep - or am I just
> misunderstanding what you meant here..?

I meant that we cannot dispatch it between redirects, only for the
final request, and then we do it (just) once, when the response
headers are in.


-- 
https://annevankesteren.nl/

Received on Tuesday, 21 April 2015 16:47:37 UTC