8000 chore: cherry-pick 0d2bf89e15cc from chromium by ppontes · Pull Request #27533 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: cherry-pick 0d2bf89e15cc from chromium #27533

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

Merged
merged 2 commits into from
Jan 29, 2021

Conversation

ppontes
Copy link
Member
@ppontes ppontes commented Jan 28, 2021

Observe ProcessManager shutdowns from KeepAliveImpl.

ExtensionRegistry uses the underlying BrowserContext for incognito
contexts. Thus, for incognito uses, the ProcessManager can be destroyed
without the KeepAliveImpl being notified. Observe ProcessManager
shutdowns directly to ensure KeepAliveImpls are cleaned up when a
ProcessManager is shut down.

[Substituted ScopedObserver for base::ScopedObservation since the latter
was introduced in 88]

(cherry picked from commit 5a55fe16e633dd02e3c40e513acabf4324bb6318)

(cherry picked from commit c2bf2463fbeff3959ea1998a4f3ae82dd648b56c)

Bug: 1149177
Change-Id: I39a0cf54bcf8cf0d58e36560935b8d2f79399cd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2548585
Auto-Submit: Sam McNally sammc@chromium.org
Commit-Queue: Ben Wells benwells@chromium.org
Reviewed-by: Ben Wells benwells@chromium.org
Cr-Original-Original-Commit-Position: refs/heads/master@{#830107}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563379
Reviewed-by: Sam McNally sammc@chromium.org
Commit-Queue: Sam McNally sammc@chromium.org
Cr-Original-Commit-Position: refs/branch-heads/4280@{#1653}
Cr-Original-Branched-From: ea420fb963f9658c9969b6513c56b8f47efa1a2a-refs/heads/master@{#812852}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587154
Commit-Queue: Achuith Bhandarkar achuith@chromium.org
Reviewed-by: Achuith Bhandarkar achuith@chromium.org
Cr-Commit-Position: refs/branch-heads/4240@{#1496}
Cr-Branched-From: f297677702651916bbf65e59c0d4bbd4ce57d1ee-refs/heads/master@{#800218}

Notes: Security: backported fix for 1149177.

@ppontes ppontes requested a review from a team as a code owner January 28, 2021 13:58
@ppontes ppontes added 10-x-y backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes labels Jan 28, 2021
@electron-cation electron-cation bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Jan 28, 2021
@ppontes ppontes force-pushed the cherry-pick/10-x-y/chromium/0d2bf89e15cc branch from 5681dce to ca720a0 Compare January 29, 2021 08:51
@codebytere codebytere merged commit 2aec5c5 into 10-x-y Jan 29, 2021
@release-clerk
Copy link
release-clerk bot commented Jan 29, 2021

Release Notes Persisted

Security: backported fix for 1149177.

@codebytere codebytere deleted the cherry-pick/10-x-y/chromium/0d2bf89e15cc branch January 29, 2021 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10-x-y backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0