On Mon, 19 Dec 2016, Gervase Markham wrote:
We already do network change detection now, ISTR; could we pop a doorhanger
when we get a network change event, of the form of something like "maintain
'expensive data' status Y/N?"...?
Nice idea!
However the network changes we detect currently are a bit too frequent and not
precise enough to be good enough for something like that. (Like we also
trigger them for example when we come back from sleep plus the fact that
occasional false positives don't hurt a lot when there's nothing visible
showing them.)
Once we get network detection done[*] in a satisfying manner it would be cool
to have such a bit remembered on a per-network basis so that we could have
Firefox remember the status when tethered and then switch back automatically
when going back to regular wire/ethernet etc!
[*] = I have basic work of this landed but the error rate is still too high to
build on it but there are more things to do to improve the situation. The idea
is to find network details that help us identify which network we're on and
then subsequently detect when we come back to a network we've been on before.
Details such as MAC address of the default gateway or the global IPv6 prefix.
--
/ daniel.haxx.se
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform