[whatwg] XHR Level 2: Accurate Speed Measurement

Anne van Kesteren annevk at opera.com
Wed Nov 23 07:51:51 PST 2011


On Wed, 23 Nov 2011 16:14:54 +0100, Rodger Combs <rodger.combs at gmail.com>  
wrote:
> XHR currently provides no reliable method of determining the actual  
> upload or download speed of a transfer. It also does not provide an ETA  
> estimate. I propose three new read only  properties of the XHR object:
> XHR.timeRemaining = estimated time left in ms
> XHR.completionTime = a Date object representing the estimated completion  
> time
> XHR.transferRate = upload/download speed, measured in Kbps, as an  
> integer.

Did you look at progress events?


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list