On 12/15/16 11:23 AM, Ben Kelly wrote:
if (navigator.connect.downlinkMax > 100) {
  // perform low-priority background downloads
}

Why is the downlinkMax the right thing to be checking here, though? Again, outside of the "cellphone on a cell network" case, the last-hop bandwidth tells you pretty much nothing because it's incredibly unlikely that the last hop is the bottleneck.

I agree that for the "cellphone on a cell network" case the last-hop bandwidth can be useful.

-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to