From 59ef373ddc630362e609a4da7363f16b5ff11978 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Tue, 13 Apr 2010 11:35:50 +0200 Subject: [PATCH] Progressbar unit test: Ignore false vs. false in IE6 in aria attributes test --- tests/unit/progressbar/progressbar_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/progressbar/progressbar_core.js b/tests/unit/progressbar/progressbar_core.js index 2d95ae2f6..e3cf839ff 100644 --- a/tests/unit/progressbar/progressbar_core.js +++ b/tests/unit/progressbar/progressbar_core.js @@ -22,7 +22,7 @@ test("accessibility", function() { equals(el.attr("aria-disabled"), "true", "aria-disabled on"); el.progressbar("enable"); // FAIL: for some reason IE6 returns a boolean false instead of the string - equals(el.attr("aria-disabled"), "false", "aria-disabled off"); + equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 ? false : "false", "aria-disabled off"); }); })(jQuery); -- 2.39.5