ProgressEvent.lengthComputable

The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the ProgressEvent.total property has no significant value.

Syntax

flag = ProgressEvent.lengthComputable

Specifications

Specification Status Comment
XMLHttpRequest
The definition of 'ProgressEvent.lengthComputable' in that specification.
Living Standard  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 50Edge Full support YesFirefox Full support 3.5IE Full support YesOpera Full support 37Safari Full support 3.1WebView Android Full support 50Chrome Android Full support 50Edge Mobile Full support YesFirefox Android Full support 4Opera Android Full support 37Safari iOS Full support 2Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Last updated by: ddbeck,