From: jzaefferer Date: Tue, 13 Apr 2010 09:35:50 +0000 (+0200) Subject: Progressbar unit test: Ignore false vs. false in IE6 in aria attributes test X-Git-Tag: 1.8.1~5^2~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=59ef373ddc630362e609a4da7363f16b5ff11978;p=jquery-ui.git Progressbar unit test: Ignore false vs. false in IE6 in aria attributes test --- 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);