On Thu, 15 Dec 2016, Boris Zbarsky wrote:
Looking at the use cases document at
<http://w3c-webmob.github.io/netinfo-usecases/>, it seems like people
generally care more about things like "bandwidth costs money" and "how much
bandwidth do we expect?" than about the actual physical transport, no?
Looking at that collection of existing user, basically all of them want the
user to anser this question:
"Use expensive traffic (y/n)"
so that they can avoid doing "unecessary" things while connected to a network
that is "expensive". (Yes, it is a very binary answer but that is how it is
used normally.)
They do phrase that question as asking for wifi, cellular or 2G/3G etc - even
though it is not actually the type that makes the user click or unclick the
checkboxes.
Also (add to the problems already mentioned), if you tether via wifi over your
phone, are you on wifi or are you on cellular? In most of the use cases that's
"expensive traffic" so you'd have to lie and say cellular even though this API
will say wifi (I presume).
--
/ daniel.haxx.se
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform