commit | c227572401b4aa49b58ac0406754c62a11ff04f5 | [log] [tgz] |
---|---|---|
author | Norge Vizcay <vizcay@google.com> | Tue Feb 06 11:04:30 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 06 11:04:30 2024 |
tree | 1d1cf8c5a25fc22f41b535d455bf7b60851e605a | |
parent | 9e41431c25c02e53ff6d9afbc84c49eb03ff47e0 [diff] |
Fix unhandled exception in FirstNonCapturedType. We recently enabled the feature kAutofillUploadVotesForFieldsWithEmail in Canary, that includes email votes on fields where the content matches a valid email format, even if the address isn't already saved in any of the user profiles. This change caused an issue in the "FirstNonCapturedType" code section, which previously assumed all filled field types would match an existing (non-empty) type in the user's stored addresses. This led to a crash (see linked bug). This CL adds an exception for EMAIL_ADDRESS field types in FirstNonCapturedType. Fixed: b/41497271 Change-Id: I168f7dcb491338ba4f2cac1d810a49379c02750a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5268363 Commit-Queue: Norge Vizcay <vizcay@google.com> Reviewed-by: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1256687}
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.