W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2012

Re: 答复: comments of Network Information API

From: Mounir Lamouri <mounir@lamouri.fr>
Date: Wed, 28 Mar 2012 17:23:36 -0700
Message-ID: <4F73AB88.7080202@lamouri.fr>
To: "public-device-apis@w3.org" <public-device-apis@w3.org>
On 03/22/2012 10:05 AM, Poussa, Sakari wrote:
> I also want to have the 'type' attribute back. For the same reasons than
> the others.

I do not think the connection type should be exposed to content. It's
something that could be exposed to some content behind some permission
model but not regular content that doesn't require any permission.
As I said in my initial email about the Network Information API, there
are three major reasons:
- fingerprinting: it's adding a few bits of entropy;
- privacy: you can deduce a few things based on that information: 3G or
up would usually be in big cities, other mobile connections would be in
country side or some places with bad connectivity (like metro) and the
most important is that wifi usually means you are in a place you go
often (home, work, friend's place, ...);
- bad assumptions: people will assume your connection is slow if you are
using a mobile connection that is "2g" for example.

> I also think that the bandwidth attribute is hard to implement and will
> cause inconsistent behavior on WebApps depending on the UA/platform they
> run on. Finally, the .metered attribute is confusing and I don't see the
> value of it.

I'm open to alternatives.

Received on Thursday, 29 March 2012 00:24:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:35 UTC