[whatwg] XHR Level 2: Accurate Speed Measurement
Rodger Combs
rodger.combs at gmail.com
Wed Nov 23 07:14:54 PST 2011
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.
More information about the whatwg
mailing list