aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-06-11 19:04:44 +0200
committerjaubourg <j@ubourg.net>2012-06-11 19:05:16 +0200
commiteb7a7af46ae38723f02b394ede4f0d74ad615262 (patch)
tree450c997313b141f7341b4125fea3d17076e179e6
parent60e7adb3f453765c7784790db0f9a275ece9b681 (diff)
downloadjquery-eb7a7af46ae38723f02b394ede4f0d74ad615262.tar.gz
jquery-eb7a7af46ae38723f02b394ede4f0d74ad615262.zip
We don't have IE9 supports grid yet, completely didn't see this while refactoring.
-rw-r--r--test/unit/support.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 46ac22242..40acf2cc2 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -245,13 +245,15 @@ testIframeWithCallback( "A background on the testElement does not cause IE8 to c
};
}
- test("Verify that the support tests resolve as expected per browser", function() {
- for ( var i in expected ) {
- if ( jQuery.isAjax || i !== "ajax" && i !== "cors" ) {
- equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]);
+ if ( expected ) {
+ test("Verify that the support tests resolve as expected per browser", function() {
+ for ( var i in expected ) {
+ if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) {
+ equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]);
+ }
}
- }
- });
+ });
+ }
})();