forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add crash logging to BrowserContext destructor.
Adding crash logging to the BrowserContext destructor to help diagnose cases where a RenderProcessHost object still references a BrowserContext that is being destroyed. These situations can potentially lead to UAF bugs so this logging should help us detect potential issues earlier. This change will make it easier to debug the crashes that caused http://crrev.com/c/2305674 to get reverted without causing user visible crashes. This change also fixes a few tests that were accidentally keeping around objects that kept a RenderProcessHost alive beyond the lifetime of its BrowserContext. Bug: 1099998 Change-Id: I45f9e2e281807b9364f560e675447a9f5d3a69c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324408 Reviewed-by: Nasko Oskov <nasko@chromium.org> Commit-Queue: Aaron Colwell <acolwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#794668}
- Loading branch information
Showing
4 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters