commit | 2fa2e86cc2515a89f9b2c99af96cd8e3f45cf827 | [log] [tgz] |
---|---|---|
author | Patrick Noland <pnoland@google.com> | Fri Jul 19 17:00:36 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 19 17:00:36 2024 |
tree | f110ef3c6504ee4e50c151425288c09cfbd3e7c8 | |
parent | d196a846888bba1bdf1df1ab79fc8eaed1164565 [diff] |
[Omnibox] Don't copy answer actions when "upgrading" from a dupe This can happen in the case where the suggestion with the actions has lower relevance than some other suggestion with a matching destination url, e.g. a local search history suggestion or shortcut. The result is a suggestion with actions but no corresponding answer data, which is confusing and unexpected. To fix this, we can simply skip copying answer actions in UpgradeMatchWithPropertiesFrom; any suggestion where we want to show answer actions will have them created via the answer_template anyways. Bug: 353774342 Change-Id: I4bf256bedd739630056063e43f764feec0bd5b2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722224 Reviewed-by: Jennifer Serrano <jennserrano@google.com> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/main@{#1330319}
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.