Skip to content

Commit

Permalink
Progressbar unit test: Ignore false vs. false in IE6 AND 7 in aria at…
Browse files Browse the repository at this point in the history
…tributes test
  • Loading branch information
jzaefferer committed Apr 13, 2010
1 parent 3280e33 commit c13462b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/progressbar/progressbar_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.