commit | d7fc6d05d36c638d81d98280610c5d6ff43ffb8a | [log] [tgz] |
---|---|---|
author | Kevin McNee <mcnee@chromium.org> | Tue Feb 08 21:21:50 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 08 21:21:50 2022 |
tree | 349f9527af6a753075fe2d55b66f262838339e87 | |
parent | f65e00fb798a079e40c153a0388f1ecb326a45bf [diff] |
Don't iterate RenderFrameHosts when the WebContents is being destroyed During WebContents destruction, its main RFH becomes null. Attempting to iterate over RenderFrameHosts after that point would lead to a crash. We also remove part of a unit test that was simulating behaviour that we're now asserting can't happen (hiding a WebContents that's being destroyed). Bug: 1290465 Change-Id: I91882d918146c463d7b3ff5493af6e7d60a5ca89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3415711 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Charles Reis <creis@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/main@{#968548}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.