W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

Re: XMLHttpRequest and timing of upload events

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 21 Apr 2015 09:47:14 -0700
Message-ID: <CADnb78hyV4YNGXe4SR01RBOWB67HudLWJyOJGdFWT3UGAwRG_A@mail.gmail.com>
To: Hallvord Reiar Michaelsen Steen <hsteen@mozilla.com>
Cc: WebApps WG <public-webapps@w3.org>
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.

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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC