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

fix: navigator.connection not working as intended #38491

Merged
merged 2 commits into from May 31, 2023

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented May 30, 2023

Description of Change

Closes #38484.

Fixes an issue where navigator.connection returned incorrect data. This was happening because we never set up the observer plumbing to set the correct values.

Checklist

Release Notes

Notes: Fixed an issue where navigator.connection returned incorrect data.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. target/25-x-y PR should also be added to the "25-x-y" branch. labels May 30, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 30, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 31, 2023
@jkleinsc jkleinsc merged commit 57147d1 into main May 31, 2023
19 checks passed
@jkleinsc jkleinsc deleted the fix-navigator-connection branch May 31, 2023 15:06
@release-clerk
Copy link

release-clerk bot commented May 31, 2023

Release Notes Persisted

Fixed an issue where navigator.connection returned incorrect data.

@trop
Copy link
Contributor

trop bot commented May 31, 2023

I was unable to backport this PR to "25-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot removed the target/25-x-y PR should also be added to the "25-x-y" branch. label May 31, 2023
@trop
Copy link
Contributor

trop bot commented May 31, 2023

I was unable to backport this PR to "23-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/25-x-y and removed target/23-x-y PR should also be added to the "23-x-y" branch. labels May 31, 2023
@trop
Copy link
Contributor

trop bot commented May 31, 2023

I was unable to backport this PR to "24-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/23-x-y needs-manual-bp/24-x-y and removed target/24-x-y PR should also be added to the "24-x-y" branch. labels May 31, 2023
ckerr pushed a commit that referenced this pull request Jun 22, 2023
* fix: navigator.connection not working as intended

* chore: make network quality methods private
@trop
Copy link
Contributor

trop bot commented Jun 22, 2023

@ckerr has manually backported this PR to "25-x-y", please check out #38907

@trop trop bot added in-flight/25-x-y merged/25-x-y PR was merged to the "25-x-y" branch. and removed needs-manual-bp/25-x-y in-flight/25-x-y labels Jun 22, 2023
codebytere added a commit that referenced this pull request Jun 23, 2023
fix: `navigator.connection` not working as intended (#38491)

* fix: navigator.connection not working as intended

* chore: make network quality methods private

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop
Copy link
Contributor

trop bot commented Jul 13, 2023

@codebytere has manually backported this PR to "24-x-y", please check out #39100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/24-x-y PR was merged to the "24-x-y" branch merged/25-x-y PR was merged to the "25-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: navigator.connection.rtt is always 0
4 participants