Restrict verbatim match to valid URL texts only.
This change addresses the case where a native URL is presented with a clear omnibox text on mobile devices, eg. - chrome://history or - chrome://bookmarks and ensures that no suggestion is offered when the text is cleared. The default match is produced by AutocompleteProviderClient, which does not use the current URL, but instead the text presented in the omnibox, and with the Omnibox text being empty, the default match carries no URL. Bug: 1125046 Change-Id: I56c11def20ed79a9852a578bbf75dd6578d4e26d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401331 Commit-Queue: Tomasz Wiszkowski <ender@google.com> Reviewed-by:Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#805538}
Showing
Please register or sign in to comment