This API is available on Firefox OS for internal applications only.


Time in milliseconds recorded by the API until present time for each type of connection. All samples older than maxStorageAge from now are deleted.

A data usage chunk is a MozNetworkStatsData object representing the total number of bytes received and sent during a given amount of time (this amount of time is accessible through the sampleRate property).


var max = navigator.mozNetworkStats.maxStorageAge;


A number given as a long type.


Not part of any specification.

See also

Document Tags and Contributors

Contributors to this page: wbamberg, kmag, chrisdavidmills, kscarfone, zeller
Last updated by: wbamberg,