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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
lengthComputableChrome Full support 50Edge Full support 12Firefox Full support 3.5IE Full support YesOpera Full support 37Safari Full support 3.1WebView Android Full support 50Chrome Android Full support 50Firefox Android Full support 4Opera Android Full support 37Safari iOS Full support 2Samsung Internet Android Full support 5.0

Legend

Full support
Full support

See also