summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 04:03:53 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 04:03:53 +0000
commit22bf39c4feb63cfb3d9082908f9437a3298c1cdf (patch)
treecbd177e8a1a34af3b70c0241405b407af788b178 /chrome
parent03b6d5583ccccfdaba18d8ddca0c8e1d2da10959 (diff)
downloadchromium_src-22bf39c4feb63cfb3d9082908f9437a3298c1cdf.zip
chromium_src-22bf39c4feb63cfb3d9082908f9437a3298c1cdf.tar.gz
chromium_src-22bf39c4feb63cfb3d9082908f9437a3298c1cdf.tar.bz2
re-enable history page bidi tests, add suppressions
BUG=119595 TEST=yes Review URL: http://codereview.chromium.org/9905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ui/webui/bidi_checker_web_ui_test.cc4
-rw-r--r--chrome/test/data/webui/bidichecker_tests.js13
2 files changed, 14 insertions, 3 deletions
diff --git a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
index 2200898..5d27202 100644
--- a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
+++ b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
@@ -114,7 +114,7 @@ static void SetupHistoryPageTest(Browser* browser,
// TODO(estade): fix this test: http://crbug.com/119595
IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR,
- DISABLED_TestHistoryPage) {
+ TestHistoryPage) {
// Test an Israeli news site with a Hebrew title.
SetupHistoryPageTest(browser(),
"http://www.ynet.co.il",
@@ -124,7 +124,7 @@ IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR,
// TODO(estade): fix this test: http://crbug.com/119595
IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL,
- DISABLED_TestHistoryPage) {
+ TestHistoryPage) {
SetupHistoryPageTest(browser(), "http://www.google.com", "Google");
RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL);
}
diff --git a/chrome/test/data/webui/bidichecker_tests.js b/chrome/test/data/webui/bidichecker_tests.js
index 5c60610..ceb233c 100644
--- a/chrome/test/data/webui/bidichecker_tests.js
+++ b/chrome/test/data/webui/bidichecker_tests.js
@@ -112,7 +112,18 @@ function filtersForPage(pageName, isRTL) {
// BUG: http://crbug.com/94070
bidichecker.FilterFactory.atText("Google Cloud Print")
]
- }
+ },
+ "chrome://history-frame" : {
+ "LTR" : [
+ // BUG: http://crbug.com/119595
+ bidichecker.FilterFactory.atText("בדיקה")
+ ],
+ "RTL" : [
+ // BUG: http://crbug.com/119595
+ bidichecker.FilterFactory.atText("Google"),
+ bidichecker.FilterFactory.atText("www.google.com")
+ ],
+ },
};
var dir = isRTL ? "RTL" : "LTR";