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

chore: cherry-pick 43637378b14e from chromium #36884

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Jan 11, 2023

Align NetworkContext::SetNetworkConditions better with devtools emulateNetworkConditions

The former used values of 0 to disable particular throttles, while the
later documents -1, and looks to be pretty much a direct client, and the
only one. So make NetworkService handle everything <= 0 as a disable,
clamping at intake of config.

Bug: 1382033

(cherry picked from commit ce463c2c939818a12bbcec5e2c91c35f2a0a1f0e)

Change-Id: I2fd3f075d5071cb0cf647838782115b5c00405bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4035891
Reviewed-by: Ken Buchanan kenrb@chromium.org
Reviewed-by: Eric Orth ericorth@chromium.org
Commit-Queue: Maks Orlovich morlovich@chromium.org
Cr-Original-Commit-Position: refs/heads/main@{#1073566}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4048289
Cr-Commit-Position: refs/branch-heads/5414@{#188}
Cr-Branched-From: 4417ee59d7bf6df7a9c9ea28f7722d2ee6203413-refs/heads/main@{#1070088}

Notes: Security: backported fix for CVE-2023-0129.

@ppontes ppontes requested a review from a team as a code owner January 11, 2023 14:29
@ppontes ppontes added 22-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Jan 11, 2023
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Jan 11, 2023
@ppontes ppontes force-pushed the cherry-pick/22-x-y/chromium/43637378b14e branch from 97bce89 to 5a670e8 Compare January 12, 2023 12:18
@jkleinsc jkleinsc merged commit 887595e into 22-x-y Jan 12, 2023
@jkleinsc jkleinsc deleted the cherry-pick/22-x-y/chromium/43637378b14e branch January 12, 2023 17:07
@release-clerk
Copy link

release-clerk bot commented Jan 12, 2023

Release Notes Persisted

Security: backported fix for CVE-2023-0129.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
22-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants