]> source.dussan.org Git - jquery.git/commitdiff
We don't have IE9 supports grid yet, completely didn't see this while refactoring.
authorjaubourg <j@ubourg.net>
Mon, 11 Jun 2012 17:04:44 +0000 (19:04 +0200)
committerjaubourg <j@ubourg.net>
Mon, 11 Jun 2012 17:05:16 +0000 (19:05 +0200)
test/unit/support.js

index 46ac2224235359ab36673c697850fce0ee7255c8..40acf2cc2a8784c6768fc07820a7bea4014bec1a 100644 (file)
@@ -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]);
+                               }
                        }
-               }
-       });
+               });
+       }
 
 })();