X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fajax.js;h=2a6bc32c6e2cd3538038d706f95b031d91ba98e2;hb=4e8f0c935e8fada0a755d9749cd371b96b9589d6;hp=92d0739fa9cfcb64ddc5e5cae228050a1bcea304;hpb=c3c94823f27ee1e935586d46fd86f055f3a3d97d;p=jquery.git diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 92d0739..2a6bc32 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -787,7 +787,7 @@ test("jQuery.ajaxSetup({timeout: Number}) with localtimeout", function() { jQuery.ajax({ type: "GET", - timeout: 5000, + timeout: 15000, url: url("data/name.php?wait=1"), error: function() { ok( false, 'Check for local timeout failed' ); @@ -923,8 +923,8 @@ test("jQuery.ajax - Etag support", function() { ifModified: true, success: function(data, status) { if ( data === "FAIL" ) { - ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Matches')."); - ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Matches')."); + ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match')."); + ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match')."); } else { equals(status, "notmodified"); ok(data == null, "response body should be empty")