diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-18 16:15:40 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-18 16:15:40 +0000 |
commit | de81090e314e82251cdcbd5f7381b6a478e8a02b (patch) | |
tree | b6a9de84df0931083bb583a9126af704c3211d1d /chrome/browser/history | |
parent | 99bb5410f37928816b9701bf3d35464123c3e481 (diff) | |
download | chromium_src-de81090e314e82251cdcbd5f7381b6a478e8a02b.zip chromium_src-de81090e314e82251cdcbd5f7381b6a478e8a02b.tar.gz chromium_src-de81090e314e82251cdcbd5f7381b6a478e8a02b.tar.bz2 |
Don't extract search terms that the omnbox would treat as a navigation.
Doing so might confuse users into believing that the search terms were
the URL of the current page, and could cause problems if users hit enter
in the omnibox expecting to reload the page. This also covers the case
of javascript: URLs.
BUG=163192,173483
TEST=With instant extended API enabled, paste the following URL into the omnibox and note that the whole URL is visible in the omnibox as the search results are shown. https://www.google.ca/webhp?sourceid=chrome-instant&espv=1&ie=UTF-8#hl=en&sugexp=les%3B&gs_rn=0&gs_ri=hp&cp=4&gs_id=0&xhr=t&q=http://www.shadybank.com/&pf=p&tbo=d&espv=1&output=search&sclient=chrome-search&oq=spam&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.41642243,d.aWc&fp=ba0fd5791f5165d1&biw=0&bih=0
Review URL: https://chromiumcodereview.appspot.com/12086058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
0 files changed, 0 insertions, 0 deletions