W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Show upload progress

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 12 Nov 2008 02:02:35 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811120201070.1237@hixie.dreamhostps.com>
On Fri, 5 May 2006, Joaquin Cuenca Abela wrote:
> 
> A lot of people are implementing progress bars that show in real time 
> the upload status of files being uploaded.
> 
> Right now it's a pain to implement that kind of functionality, as the 
> browser has to poll regularly the server with a secondary connection to 
> get the total size of the request, and the number of bytes already 
> received.
> 
> Given that the browser already knows that information, I think it would 
> be great if it could expose it on some DOM object. What do you think?

I think we may at some future point add an upload progress events object 
to <form> elements, similar to what XHR is getting for upload. However, in 
the meantime, I think it would be better to ask browser vendors to make 
significant strides in improving the upload progress UI of form 
submission. There's really no reason browsers couldn't do this better than 
Web application authors could.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 11 November 2008 18:02:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC