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 fix for 1234009 from chromium #30635

Merged
merged 2 commits into from Aug 30, 2021
Merged

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Aug 19, 2021

Defer looking up the WebContents for the directory confirmation dialog.

Look up the WebContents to use for the sensitive directory confirmation
dialog immediately before it's used instead of before performing some
blocking file access to determine whether it's necessary.

Bug: 1234009
Change-Id: I5e00c7fa199b3da522e1fdb73242891d7f5f7423
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3063743
Reviewed-by: Alex Danilo adanilo@chromium.org
Reviewed-by: Ben Wells benwells@chromium.org
Commit-Queue: Sam McNally sammc@chromium.org

[modify] https://crrev.com/18236a0db8341302120c60781ae3129e94fbaf1c/extensions/browser/api/file_system/file_system_api.cc
[modify] https://crrev.com/18236a0db8341302120c60781ae3129e94fbaf1c/extensions/browser/api/file_system/file_system_api.h

Notes: Security: Backported fix for 1234009.

@zcbenz zcbenz added semver/patch backwards-compatible bug fixes target/11-x-y labels Aug 19, 2021
@zcbenz zcbenz requested a review from a team as a code owner August 19, 2021 06:18
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 19, 2021
@zcbenz zcbenz added the backport-check-skip Skip trop's backport validity checking label Aug 19, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 19, 2021
@zcbenz zcbenz changed the title chore: cherry-pick for for 1234009 from chromium chore: cherry-pick fix for 1234009 from chromium Aug 19, 2021
@zcbenz zcbenz merged commit d927f1d into 13-x-y Aug 30, 2021
@zcbenz zcbenz deleted the cherry-pick-1234009 branch August 30, 2021 10:34
@release-clerk
Copy link

release-clerk bot commented Aug 30, 2021

Release Notes Persisted

Security: Backported fix for 1234009.

@trop
Copy link
Contributor

trop bot commented Aug 30, 2021

I have automatically backported this PR to "11-x-y", please check out #30751

@trop
Copy link
Contributor

trop bot commented Aug 30, 2021

I have automatically backported this PR to "12-x-y", please check out #30752

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

None yet

2 participants