Chromium Code Reviews| Index: functional/omnibox.py |
| =================================================================== |
| --- functional/omnibox.py (revision 70764) |
| +++ functional/omnibox.py (working copy) |
| @@ -310,6 +310,8 @@ |
| def _GotHistoryPageOption(self, search_text): |
| """Determines if omnibox returns an 'open history page' option for given |
| search text""" |
| + if not self.IsMac(): |
|
Nirnimesh
2011/01/07 21:03:03
why not do this even on Mac?
|
| + self.SetOmniboxText('') |
|
Nirnimesh
2011/01/07 22:05:51
add a comment here
|
| matches = self._GetOmniboxMatchesFor(search_text) |
| matches_description = [x for x in matches if x['type'] == |
| 'open-history-page'] |