summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-10 22:40:05 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-10 22:40:05 +0000
commit27357e18c80f26b4932ce3c8786fb88147d59d41 (patch)
tree2a2f11d4cb8c6464b5764f9907b9c87e12bb2396 /chrome/test/functional
parent87dd4fd367a509bb7ecf2df40d1d8d52f12af152 (diff)
downloadchromium_src-27357e18c80f26b4932ce3c8786fb88147d59d41.zip
chromium_src-27357e18c80f26b4932ce3c8786fb88147d59d41.tar.gz
chromium_src-27357e18c80f26b4932ce3c8786fb88147d59d41.tar.bz2
Changed the partial url search term to avoid the crash on windows
BUG=66448 Review URL: http://codereview.chromium.org/5697004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional')
-rw-r--r--chrome/test/functional/PYAUTO_TESTS2
-rw-r--r--chrome/test/functional/omnibox.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/functional/PYAUTO_TESTS b/chrome/test/functional/PYAUTO_TESTS
index d5b1b90..ae9dcdd 100644
--- a/chrome/test/functional/PYAUTO_TESTS
+++ b/chrome/test/functional/PYAUTO_TESTS
@@ -81,8 +81,6 @@
# Unsafe downloads tests broken. crbug.com/66081
'-downloads.DownloadsTest.testDeclineDangerousDownload',
'-downloads.DownloadsTest.testNoUnsafeDownloadsOnRestart',
- # crbug.com/66448
- '-omnibox.OmniboxTest.testBookmarkResultInNewTabAndWindow',
'-prefs.PrefsTest.testDownloadDirPref',
# crbug.com/64269
'-passwords.PasswordTest.testDisplayAndSavePasswordInfobar',
diff --git a/chrome/test/functional/omnibox.py b/chrome/test/functional/omnibox.py
index ef73848..8a7a2e2 100644
--- a/chrome/test/functional/omnibox.py
+++ b/chrome/test/functional/omnibox.py
@@ -224,8 +224,7 @@ class OmniboxTest(pyauto.PyUITest):
self._VerifyHasBookmarkResult(title_matches)
# Check if the partial URL would get the bookmark
split_url = urlparse.urlsplit(url)
- search_term = split_url.path
- partial_url = self._GetOmniboxMatchesFor(search_term, windex=windex)
+ partial_url = self._GetOmniboxMatchesFor(split_url.scheme, windex=windex)
self._VerifyHasBookmarkResult(partial_url)
# Check if the partial title would get the bookmark
split_title = title.split()