Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: functional/omnibox.py

Issue 6135005: Fixing omnibox continues search (pyauto) problem on non-mac machine (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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']
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698