[whatwg] Bandwidth media queries

Mounir Lamouri mounir at lamouri.fr
Mon May 21 07:09:50 PDT 2012


On 05/20/2012 03:04 PM, Boris Zbarsky wrote:
> On 5/20/12 5:45 AM, Paul Irish wrote:
>> Since no one mentioned it, I just wanted to make sure this thread is
>> aware
>> of the Network Information API [1], which provides
>> navigator.connection.bandwidth
>>
>> It's been recently implemented (to some degree) in both Mozilla [2] and
>> Webkit [3].
> 
> As far as I can tell, the Mozilla implementation always returns Infinity
> for .bandwidth.

This is not true. There is an implementation for Firefox Android which
is based on the connection type.

--
Mounir



More information about the whatwg mailing list