Network status API shows home WiFi as "4G" effective type, and sets the "type" to undefined
Maintainers usually reply within 13 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start by reproducing the Network Status API behavior described on a Kubuntu laptop running regular Chrome, then compare it with the reported mobile behavior. Investigate the relevant sample entry point and verify that home WiFi reports an appropriate effective type and a defined type when the issue is fixed.
Written by the indexing model from the issue text.
Description
Is this some sort of intentional thing to avoid revealing when you're at home or something?
It makes it fairly useless for the intended "detect when to prefetch" use case, because 4G is metered, and WiFi is not(Well, at least until 1TB for most...), and any dynamic data saving attempt should take that into account.
Edit: On mobile, this seems to work perfectly, it's only an issue on my Kubuntu laptop running regular Chrome. Very odd!
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 2.4k
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GoogleChrome/samples
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
GoogleChrome/samples#957 · 2 comments ·
Maintainers usually reply within 13 days
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
GoogleChrome/samples#876 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
GoogleChrome/samples#869 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GoogleChrome/samples#836 · 1 reaction ·
Maintainers usually reply within 13 days
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GoogleChrome/samples#827 ·
Maintainers usually reply within 13 days
All issues in GoogleChrome/samples
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
cloudflare/workers-sdk#17215 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
0xPolygon/polygon-token-list#851 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cline/mcp-marketplace#4171 ·