MDN’s new design is in Beta! A sneak peek:

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


The txBytes property is a number representing the number of bytes sent for a given connection. The value is the total number of bytes sent for MozNetworkStatsManager.sampleRate seconds at

If no network stats are available for the given date, this property is undefined (which is different than 0).


var bytes = instanceOfMozNetworkData.txBytes;


A number or undefined.


Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: kmag, chrisdavidmills, fscholz, MHasan, kscarfone, Jeremie
 Last updated by: kmag,