WICG / netinfo

https://wicg.github.io/netinfo/
Other
95 stars 28 forks source link

downlinkMax can be Infinity or undefined for connection.type='wifi' #44

Closed leto closed 7 years ago

leto commented 7 years ago

Just started using this API and noticed that sometimes I see downlinkMax=Infinity or downlinkMax=undefined when the connection.type="wifi". The spec doesn't list Infinity/undefined as an option for "wifi", so I am wondering if this is a spec bug or implementation bug?

Infinity

jkarlin commented 7 years ago

This is a Chrome-specific issue, so please file a bug on crbug.com in the future. I can tell you that Chrome doesn't know the wifi type as it doesn't have the required Android permission to get at that information so it returns +Infinity.

igrigorik commented 7 years ago

This is a Chrome-specific issue, so please file a bug on crbug.com in the future.

+1. Closing this.