commit | 2947584bd780e6f4c238dee2589e77220b7bc096 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@chromium.org> | Tue Nov 22 18:29:17 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 22 18:29:17 2022 |
tree | 4bebc3cbae774b7cb121b78b318531bbb120a92f | |
parent | 9c4ef63598e36bab0a169c11e219ae3949f03254 [diff] |
Add RenderFrameHostImpl::AssertBrowserContextShutdownHasntStarted. This CL adds AssertBrowserContextShutdownHasntStarted method to RenderFrameHostImpl, because we speculate that the root cause for https://crbug.com/1376879 is that a BrowserContext (e.g. a Profile) destruction got initiated without first closing all WebContents. (If all WebContents were closed then RenderFrameHostImpl would be deleted and wouldn't be handling BeginNavigation as in the bug.) After this CL, if the bug repros then 1. A new crash key should log the creator of the WebContents that wasn't closed when it should have been. 2. The unbound factory in `non_network_factories` will be skipped. Bug: 1376879 Change-Id: I42d7802583ff260e402ef05b8de77791ebca273b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4034960 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Ćukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/main@{#1074754}
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.