From 27357e18c80f26b4932ce3c8786fb88147d59d41 Mon Sep 17 00:00:00 2001 From: "nirnimesh@chromium.org" Date: Fri, 10 Dec 2010 22:40:05 +0000 Subject: 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 --- chrome/test/functional/PYAUTO_TESTS | 2 -- chrome/test/functional/omnibox.py | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'chrome/test') 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() -- cgit v1.1