mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Allow 304/Not Modified tests to complete in Opera.
This commit is contained in:
@@ -1247,8 +1247,16 @@ test("jQuery.ajax - If-Modified-Since support", function() {
|
||||
ok(data == null, "response body should be empty")
|
||||
}
|
||||
start();
|
||||
},
|
||||
error: function() {
|
||||
equals(false, "error");
|
||||
start();
|
||||
}
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
equals(false, "error");
|
||||
start();
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -1278,13 +1286,20 @@ test("jQuery.ajax - Etag support", function() {
|
||||
ok(data == null, "response body should be empty")
|
||||
}
|
||||
start();
|
||||
},
|
||||
error: function() {
|
||||
equals(false, "error");
|
||||
start();
|
||||
}
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
equals(false, "error");
|
||||
start();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test("jQuery.ajax - active counter", function() {
|
||||
ok( jQuery.ajax.active == 0, "ajax active counter should be zero: " + jQuery.ajax.active );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user