};
}
- 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]);
+ }
}
- }
- });
+ });
+ }
})();