W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Bandwidth media queries

From: Mounir Lamouri <mounir@lamouri.fr>
Date: Mon, 21 May 2012 19:59:41 +0200
Message-ID: <4FBA828D.5010803@lamouri.fr>
To: whatwg@lists.whatwg.org
On 05/21/2012 04:42 PM, James Graham wrote:
> On 05/21/2012 04:34 PM, Boris Zbarsky wrote:
>> If I'm reading the right code now, that looks like it returns a constant
>> value for each connection type (e.g. if you're connected via Ethernet or
>> Wifi it returns 20; if you're connected via EDGE it returns 0.2, etc).
> This suggests that the API is extremely silly; although one could
> presumably claim that "an estimate" allows one to return anything, I
> don't see how returning "20" if the server is feeding you 1 byte/second
> can be helpful to anyone. If no one plans to implement this as a loose
> proxy for "type of connection" the spec shouldn't pretend to do more
> than that.
> Can you point me to the discussion of usecases that led to this design?

This has been discussed in the DAP WG [1]. Actually, I think we should
move that discussion there.

[1] http://www.w3.org/2009/dap/

Received on Monday, 21 May 2012 18:00:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC