DescriptionFix a problem in the implementation of search-vs.-go-in-context-menus. We were eliding the text before passing it to the classifier, resulting in wrong destination URLs for elided strings.
This also eliminates a couple string conversions and shortens the EscapeAmpersand() algorithm.
BUG=1978
TEST=Highlight a long string in a page. Right-click it. Verify the string is elided in the context menu. Click the search entry. Verify the string you searched for is not elided.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30745
Patch Set 1 #Patch Set 2 : '' #
Total comments: 2
Patch Set 3 : '' #Messages
Total messages: 3 (0 generated)
|