commit | 91cc4417bdc45c3ffb8cda691cd5e5540fbc865c | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Tue Aug 27 11:08:30 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 27 11:08:30 2024 |
tree | 30f456dec17ca815ac5be7244d20da083ef4997a | |
parent | b5bbf210660045532c811e3df275871de6ad8683 [diff] |
[ios] Avoid crashing if session data is corrupt A few users have a corrupt session data (where itemStorages stores NSString instead of CRWNavigationItemStorage) causing crash loop when the data is loaded. Instead of crashing, ignore the data if it is invalid (this will result in a tab with no navigation, which should be pruned later by the session loading code). This is better than crashing even though it will lead to losing the corresponding tabs. Fixed: 358616893 Change-Id: Ieb7fed5928866f75dcf3c8acfbb7d8c95f6625ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5816590 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Federica Germinario <fedegermi@google.com> Commit-Queue: Federica Germinario <fedegermi@google.com> Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1347278}
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.