summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/english_page.html
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 01:44:40 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 01:44:40 +0000
commit70082aabee6372122bf5a0c5ac68bed55315abc0 (patch)
treee14b9e73ce976377c84c46811197fdff751ad7e0 /chrome/test/data/english_page.html
parent5ea0b5a6215d111cbd954cfa945f3d896396793c (diff)
downloadchromium_src-70082aabee6372122bf5a0c5ac68bed55315abc0.zip
chromium_src-70082aabee6372122bf5a0c5ac68bed55315abc0.tar.gz
chromium_src-70082aabee6372122bf5a0c5ac68bed55315abc0.tar.bz2
Don't report the language if the CLD reports it as unreliable or if the text is too short.
That might trigger a translate infobar with the wrong language, it is better to show none. BUG=36593 TEST=Open the pages reported in the bug. No translate infobar should be shown. Review URL: http://codereview.chromium.org/652144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/english_page.html')
-rw-r--r--chrome/test/data/english_page.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/data/english_page.html b/chrome/test/data/english_page.html
index 539920d..30b0d42 100644
--- a/chrome/test/data/english_page.html
+++ b/chrome/test/data/english_page.html
@@ -2,5 +2,6 @@
<head><title>This page is in English</title></head>
<body>
No joke! This is a page written in English. Awesome don't you think?
+It has to be more than 100 bytes long for the CLD to detect the language correctly.
</body>
</html>