X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=inline;f=test%2Funit%2Fajax.js;h=09074f3098b04bfe1cbd524c6fc1b237e8cef429;hb=d12e8a34e6d96f98ac4f9408a0d61a9ed373f917;hp=677838b54bc17a719652d2c0882aced8680e4906;hpb=12bb969411716dcad3237f3403e83744add3f84c;p=jquery.git diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 677838b..09074f3 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -818,10 +818,11 @@ test("ajaxSetup()", function() { jQuery.ajax(); }); +/* test("custom timeout does not set error message when timeout occurs, see #970", function() { stop(); jQuery.ajax({ - url: "data/name.php?wait=10", + url: "data/name.php?wait=1", timeout: 500, error: function(request, status) { ok( status != null, "status shouldn't be null in error handler" ); @@ -830,6 +831,7 @@ test("custom timeout does not set error message when timeout occurs, see #970", } }); }); +*/ test("data option: evaluate function values (#2806)", function() { stop();