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

[whatwg] XHR Level 2: Accurate Speed Measurement

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 23 Nov 2011 16:51:51 +0100
Message-ID: <op.v5eo0p1564w2qv@annevk-macbookpro.local>
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/
Received on Wednesday, 23 November 2011 07:51:51 UTC

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