W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] File Upload Progress Event (Upload Progress)

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 28 Dec 2010 21:54:53 -0500
Message-ID: <AANLkTinXBJ5nw7FyxLLVuSQ8-7rUPjmarVBzBOz7EoBH@mail.gmail.com>
On Tue, Dec 28, 2010 at 7:48 PM, Ian Hickson <ian at hixie.ch> wrote:
> Adding it to the spec doesn't do anything if it doesn't get added to
> implementations also. Given that UAs haven't made upload feedback a
> priority, why would they make events for upload a priority? It's more or
> less the same difficulty in practice.

More than not making it a priority, FF4 has apparently removed the
progress bar entirely, regressing basic user feedback by a decade or
two.  (Combined with the broken wait cursor in Windows, it's now
impossible to tell if the browser is doing anything at all.)  That's
not HTML5's problem, of course.

That said, at least FF4 and Chrome have both implemented XHR2 progress
events, and this is much more like those than upload feedback, so I
wouldn't rule out it being implemented.

FWIW, I think that duplicating all of XHR2's functionality in forms is
a waste of implementation and spec work.  People should use XHR2 if
they want a greater level of control than simple form submission.  I
think it's typically more than ten lines of code to make it work
(server-side API support is often needed, too), but it seems better
than starting to duplicate APIs.

-- 
Glenn Maynard
Received on Tuesday, 28 December 2010 18:54:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC