commit | 6da1f51df86aee94ed2f57684368ff7e441a4a77 | [log] [tgz] |
---|---|---|
author | Parastoo Geranmayeh <parastoog@google.com> | Wed Jul 18 21:43:11 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 18 21:43:11 2018 |
tree | 6e2ca3d2aea1107c72b2bd787414fe5edf55a02f | |
parent | 304237d65a5dbeaca92a2a9a276b4cb903b5ad14 [diff] |
Avoid Crash for State Dropdown on Address Editor Problem: if the state is not saved as the key (like NY), and is saved as a complete form (New York), or is invalid (Caoldo), the assert would fail on debug mode. On release build, the state would not show up on the editor. Solution: Look for both the key and the complete form. If can't find them (invalid value), show the default or the first item. Tests added. Bug: 861821 Change-Id: I8eeb3679c0dd503c264014e22d8e2a6cd8ef5405 Reviewed-on: https://chromium-review.googlesource.com/1140366 Commit-Queue: Parastoo Geranmayeh <parastoog@google.com> Reviewed-by: Theresa <twellington@chromium.org> Reviewed-by: Ganggui Tang <gogerald@chromium.org> Cr-Commit-Position: refs/heads/master@{#576226}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .