This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

bandwidth

Summary

An estimation of the current bandwidth in MB/s (Megabytes per seconds) available.

Property of apis/network_information/Connectionapis/network_information/Connection

Syntax

Note: This property is read-only.

var result = connection.bandwidth;

Return Value

Returns an object of type doubledouble

Returns 0 if the user is currently offline, infinity if the bandwidth is unknown.

Notes

As of 25 June 2014:

  • Formal work on the Network Information spec has been stopped. The specification is now a W3C Note.
  • Both Chrome and Firefox have shipped Network Information under an experimental feedback channel.

Related specifications

The Network Information API
W3C Note