X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=test%2Funit%2Fajax.js;h=a0697fed131937ecd63e2b0cbc5f3f46f1b25913;hp=270d32f8b314438f9e176a27ce53ac69b6763c2f;hb=e56de77df90e50b9999a02e57241b1cf498b0fe4;hpb=ae6655bcb6d852b79df2ddc5545832c5d08936f4 diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 270d32f..a0697fe 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1638,7 +1638,7 @@ test("jQuery ajax - failing cross-domain", function() { stop(); var i = 2; - + if ( jQuery.ajax({ url: 'http://somewebsitethatdoesnotexist-67864863574657654.com', success: function(){ ok( false , "success" ); }, @@ -1648,7 +1648,7 @@ test("jQuery ajax - failing cross-domain", function() { ok( true , "no transport" ); if ( ! --i ) start(); } - + if ( jQuery.ajax({ url: 'http://www.google.com', success: function(){ ok( false , "success" ); }, @@ -1658,7 +1658,7 @@ test("jQuery ajax - failing cross-domain", function() { ok( true , "no transport" ); if ( ! --i ) start(); } - + }); test("jQuery ajax - atom+xml", function() {