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 7fabaa4d from chromium #32808

Merged
merged 4 commits into from Feb 22, 2022

Conversation

deepak1556
Copy link
Member

Subject: Call PdfViewWebPlugin a11y methods asyncly

Calling a11y methods asyncly protects against the self-deletions they
may cause. The a11y methods call
content::RenderAccessibility::GenerateAXID() underneath, which may
cause a relayout which causes the PdfViewWebPlugin to be deleted.

Isolating the calls in posted tasks is a clean way to protect against
continuing control flow in the object after it is deleted.

(cherry picked from commit 6d9638366ae0f60f8d2db41857fcbc738c2514d4)

Bug: 1274376
Change-Id: Iffd610a95199826fea56d7f23cb8e344657631d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3313692
Reviewed-by: Lei Zhang thestig@chromium.org
Commit-Queue: Daniel Hosseinian dhoss@chromium.org
Cr-Original-Commit-Position: refs/heads/main@{#948105}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3319376
Auto-Submit: Daniel Hosseinian dhoss@chromium.org
Cr-Commit-Position: refs/branch-heads/4692@{#799}
Cr-Branched-From: 038cd96142d384c0d2238973f1cb277725a62eba-refs/heads/main@{#938553}

Notes: Security: backported fix for chromium:1274376

@deepak1556 deepak1556 requested a review from a team as a code owner February 8, 2022 10:52
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2022
@deepak1556 deepak1556 added 16-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Feb 8, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2022
@nornagon nornagon requested a review from a team as a code owner February 21, 2022 23:21
@zcbenz zcbenz changed the title chore: cherry-pick 7fabaa4d from chromium chore: cherry-pick 7fabaa4d from chromium FIXCI Feb 22, 2022
@zcbenz zcbenz changed the title chore: cherry-pick 7fabaa4d from chromium FIXCI chore: cherry-pick 7fabaa4d from chromium Feb 22, 2022
@zcbenz zcbenz merged commit a29a04a into 16-x-y Feb 22, 2022
@zcbenz zcbenz deleted the robo/cherry_pick_3319376_16_x_y branch February 22, 2022 10:49
@release-clerk
Copy link

release-clerk bot commented Feb 22, 2022

Release Notes Persisted

Security: backported fix for chromium:1274376

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