commit | 7bb678aa38b625b0ecc50aa945c05e0626ba7d9b | [log] [tgz] |
---|---|---|
author | Ryan Sultanem <rsult@google.com> | Fri Sep 22 18:30:42 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 22 18:30:42 2023 |
tree | 4de707fee68f29d3a0337273c22e7f1aa48c9be4 | |
parent | 1c33bdce36b017ecd5b4579b4a53999f5dfafc49 [diff] |
[ProfileSelections] Fix crashes that expect to retrieve keyedservices with a null profile The crash is happening when trying to retrieve the ExtensionRegistry Keyed service with a null profile, amounting for a big number of crash reports: https://crash.corp.google.com/browse?q=product_name%3D%27Chrome%27+AND+expanded_custom_data.ChromeCrashProto.magic_signature_1.name%3D%27profile_metrics%3A%3AGetBrowserProfileType%27+AND+EXISTS+%28SELECT+1+FROM+UNNEST%28CrashedStackTrace.StackFrame%29+WHERE+FunctionName%3D%27apps%3A%3AOpenExtensionAppShortcutWindow%28Profile+*%2CGURL+const+%26%29%27%29&stbtiq=&reportid=&index=0 Fixed: 1456175 Change-Id: I5f95418beb477df7b78114572f0ae197bab19a48 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4879240 Reviewed-by: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Commit-Queue: Ryan Sultanem <rsult@google.com> Cr-Commit-Position: refs/heads/main@{#1200368}
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.