diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 21:23:27 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 21:23:27 +0000 |
commit | fd2a9927ec151327e710f1fca66f5620e24f98dd (patch) | |
tree | a279b0d43bbde75c84f3eb5c3d449be63ea56628 /chrome/browser/extensions/extension_browsertests_misc.cc | |
parent | 225c5084d41efb256a2876180306d5484c7d0668 (diff) | |
download | chromium_src-fd2a9927ec151327e710f1fca66f5620e24f98dd.zip chromium_src-fd2a9927ec151327e710f1fca66f5620e24f98dd.tar.gz chromium_src-fd2a9927ec151327e710f1fca66f5620e24f98dd.tar.bz2 |
Revert 36541 (which went in without any commit log by some black magic).
Reland it with the commit log for the record.
Review URL: http://codereview.chromium.org/545123
TBR=jshin@chromium.org
Review URL: http://codereview.chromium.org/551070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browsertests_misc.cc')
-rw-r--r-- | chrome/browser/extensions/extension_browsertests_misc.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_browsertests_misc.cc b/chrome/browser/extensions/extension_browsertests_misc.cc index d0409aa..ee5935c 100644 --- a/chrome/browser/extensions/extension_browsertests_misc.cc +++ b/chrome/browser/extensions/extension_browsertests_misc.cc @@ -89,17 +89,23 @@ IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, Toolstrip) { host->render_view_host(), L"", L"testTabsAPI()", &result); EXPECT_TRUE(result); +#if defined(OS_WIN) + // http://crbug.com/29896 - tabs.detectLanguage is Windows only + // Test for compact language detection API. First navigate to a (static) html // file with a French sentence. Then, run the test API in toolstrip1.html to // actually call the language detection API through the existing extension, // and verify that the language returned is indeed French. FilePath language_url = extension_test_data_dir.AppendASCII( "french_sentence.html"); - ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(language_url)); + ui_test_utils::NavigateToURL( + browser(), + GURL(language_url.ToWStringHack())); ui_test_utils::ExecuteJavaScriptAndExtractBool( host->render_view_host(), L"", L"testTabsLanguageAPI()", &result); EXPECT_TRUE(result); +#endif } IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, ExtensionViews) { |