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 36028012d897 from chromium #31539

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Oct 21, 2021

Move NetworkStateObserver from document to window

Previously NetworkStateObserver was a nested class of Document. Make it
a nested class of LocalDOMWindow instead, since they have the same
lifetime and it fires "online" and "offline" events at the window, not
the document.

BUG=1206928

(cherry picked from commit af84d38b5cf5ee24f432ae8273bc2dad1e075f0e)

Change-Id: I2a1080915cf56cfa47eae65594fe6edcc8c2130a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3167550
Reviewed-by: Kentaro Hara haraken@chromium.org
Commit-Queue: Adam Rice ricea@chromium.org
Cr-Original-Commit-Position: refs/heads/main@{#922429}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3196231
Cr-Commit-Position: refs/branch-heads/4638@{#476}
Cr-Branched-From: 159257cab5585bc8421abf347984bb32fdfe9eb9-refs/heads/main@{#920003}

Release Notes

Notes: Backported fix for CVE-2021-37987.

@ppontes ppontes added security 🔒 semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 15-x-y labels Oct 21, 2021
@ppontes ppontes requested a review from a team as a code owner October 21, 2021 21:02
@jkleinsc jkleinsc merged commit a1744e5 into 15-x-y Oct 25, 2021
@jkleinsc jkleinsc deleted the cherry-pick/15-x-y/chromium/36028012d897 branch October 25, 2021 17:27
@release-clerk
Copy link

release-clerk bot commented Oct 25, 2021

Release Notes Persisted

Backported fix for CVE-2021-37987.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
15-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

3 participants