aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-27 12:10:00 -0400
committerjeresig <jeresig@gmail.com>2010-09-27 12:10:00 -0400
commitea6a4813b7d996f6f7af0b61a5f1bf4ab80b291d (patch)
treeb995a4e61a93f24cdcbd24161512d0c49c014003 /test
parent0be7f4eb4f027dce00f11d7816290022d447d336 (diff)
downloadjquery-ea6a4813b7d996f6f7af0b61a5f1bf4ab80b291d.tar.gz
jquery-ea6a4813b7d996f6f7af0b61a5f1bf4ab80b291d.zip
Allow 304/Not Modified tests to complete in Opera.
Diffstat (limited to 'test')
-rw-r--r--test/unit/ajax.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 18122b984..61992706d 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -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 );
});