Skip to content
Permalink
Browse files

Progressbar unit test: Ignore false vs. false in IE6 AND 7 in aria at…

…tributes test
  • Loading branch information
jzaefferer committed Apr 13, 2010
1 parent 3280e33 commit c13462b5fd3c5bfa74471eb7f2c58c698961909d
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/progressbar/progressbar_core.js
@@ -21,8 +21,8 @@ test("accessibility", function() {
el.progressbar("disable");
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"), $.browser.msie && $.browser.version == 6 ? false : "false", "aria-disabled off");
// FAIL: for some reason IE6 and 7 return a boolean false instead of the string
equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 || $.browser.version == 7 ? false : "false", "aria-disabled off");
});

})(jQuery);

0 comments on commit c13462b

Please sign in to comment.
You can’t perform that action at this time.