From 85e6eb80b7e2ace3bb15daab46a7c9e1fb793145 Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Fri, 16 Jul 2010 15:59:13 +0900 Subject: [PATCH] Bug 574051 - permanent orange test on 64-bit win7: 15875 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/content/tests/widgets/test_tree_hier.xul | cycleHeader column sortDirection - "descending" should equal "". r=enndeakin --- toolkit/content/tests/widgets/tree_shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/content/tests/widgets/tree_shared.js b/toolkit/content/tests/widgets/tree_shared.js index b2627fe0260..03abb6bbaf6 100644 --- a/toolkit/content/tests/widgets/tree_shared.js +++ b/toolkit/content/tests/widgets/tree_shared.js @@ -1020,7 +1020,7 @@ function testtag_tree_TreeView_rows_sort(tree, testid, rowInfo) // Now simulate a double click. mouseClickOnColumnHeader(columns, columnIndex, 0, 2); - if (navigator.platform == "Win32") { + if (navigator.platform.indexOf("Win") == 0) { // Windows cycles only once on double click. is(columnElement.getAttribute("sortDirection"), "descending", "double click cycleHeader column sortDirection descending");