[whatwg] File Upload Progress Event (Upload Progress)

Glenn Maynard glenn at zewt.org
Tue Dec 28 18:54:53 PST 2010


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



More information about the whatwg mailing list