Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
leto opened this issue Sep 29, 2016 · 2 comments
Closed

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

leto opened this issue Sep 29, 2016 · 2 comments

Comments

@leto
Copy link

leto commented Sep 29, 2016

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

  • Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG-SM-G530AZ Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36
  • Mozilla/5.0 (Linux; Android 7.0; Nexus 5X Build/NRD90R) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36

Undefined

  • Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G900P Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile Safari/537.36
@jkarlin
Copy link

jkarlin commented Sep 30, 2016

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
Copy link
Member

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

+1. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants