X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fajax.js;h=4ce15f8f34fcbe8cc68745d515601646e4a0b26e;hb=14e9da51f96a7a9b1a5c239c32f4abe20eb2b795;hp=335c2ac4d310348eda37d17a602b9a4d63940c2a;hpb=5b38439011799ae53156d137305d9440e0cddb0a;p=jquery.git diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 335c2ac..4ce15f8 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -2239,6 +2239,18 @@ test("jQuery.ajax - active counter", function() { ok( jQuery.active == 0, "ajax active counter should be zero: " + jQuery.active ); }); +test("jQuery.ajax - compatible with AIR urls"), function() { + expect( 1 ); + stop(); + $.ajax({ + url: "app:/testing", + beforeSend: function() { + ok( this.crossDomain, "Detected crossDomain for AIR Url" ); + return false; + } + }); +}); + } //} \ No newline at end of file