Web/API/ProgressEvent/lengthComputable

From Get docs

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
XMLHttpRequestThe definition of 'ProgressEvent.lengthComputable' in that specification. Living Standard  

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
lengthComputable Chrome

Full support 50

Edge

Full support 12

Firefox

Full support 3.5

IE

Full support Yes

Opera

Full support 37

Safari

Full support 3.1

WebView Android

Full support 50

Chrome Android

Full support 50

Firefox Android

Full support 4

Opera Android

Full support 37

Safari iOS

Full support 2

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support


See also