Open Bug 1474275 Opened 6 years ago Updated 2 years ago

RCWN is enabled on metered Wifi connections

Categories

(Core :: Networking, defect, P3)

62 Branch
All
Android
defect

Tracking

()

Tracking Status
firefox61 --- unaffected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: JanH, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

https://hg.mozilla.org/mozilla-central/rev/4408bb821f5b only cares about the physical connection type, but at least on all supported Android versions and Windows 8+ (maybe other OSs as well) a Wifi connection can be designated as metered as well, in which case it might make sense to disable RCWN after all.
We don't currently appear to have any Gecko APIs to detect metered connections.

I found "some" info on the OS APIs we could use, but it's not clear easy it would be to use them in Gecko:
https://code.msdn.microsoft.com/windowsapps/Network-Information-Sample-63aaa201/
https://developer.android.com/reference/android/net/ConnectivityManager.html#isActiveNetworkMetered()
And the corresponding issue with the official Network Information API specification seems to have stalled somewhat, too:
https://github.com/WICG/netinfo/issues/41
Priority: -- → P3
Whiteboard: [necko-triaged]

Examples of metered Wi-Fi connections include a mobile hotspot device, a smartphone with the "mobile hotspot" or "tethering" feature turned on, or a Wi-Fi access point with a geostationary satellite uplink (such as HughesNet or Viasat/Exede).

Examples of metered wired Ethernet connections include a wired Ethernet connection with a geostationary satellite uplink.

NetworkManager on desktop Linux stores a setting for whether a connection is metered.
https://unix.stackexchange.com/a/364932/119806

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.