From eb7a7af46ae38723f02b394ede4f0d74ad615262 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Mon, 11 Jun 2012 19:04:44 +0200 Subject: [PATCH] We don't have IE9 supports grid yet, completely didn't see this while refactoring. --- test/unit/support.js | 14 ++++++++------ 1 file 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]); + } } - } - }); + }); + } })();