- From: Mats Wichmann <m.wichmann@samsung.com>
- Date: Mon, 20 Jan 2014 17:52:28 -0700
- To: Marcos Caceres <w3c@marcosc.com>, Francesco Iovine <f.iovine@gmail.com>
- Cc: Ehsan Akhgari <ehsan@mozilla.com>, Fernando Jiménez Moreno <ferjmoreno@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
On 01/20/2014 12:47 PM, Marcos Caceres wrote: > When all you really wanted was "isCarrierNetwork"? There doesn't appear to be any value, at least in this application, in knowing if the connection is 2g, 3g, or 4g. > > It also shows how much cleaner this is with the new proposed API: > > if (this.netInfo.connection === 'wifi') { return true; } yes but even here we already have some cases where "it doesn't mean what you think it means" if we're assuming wifi = good quality, unrestricted usage is available: a mobile carrier-connected device is serving as a hotspot to another device, which then sees 'wifi'.
Received on Tuesday, 21 January 2014 00:53:34 UTC