git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0be7f4e
)
Allow 304/Not Modified tests to complete in Opera.
author
jeresig
<jeresig@gmail.com>
Mon, 27 Sep 2010 16:10:00 +0000
(12:10 -0400)
committer
jeresig
<jeresig@gmail.com>
Mon, 27 Sep 2010 16:10:00 +0000
(12:10 -0400)
test/unit/ajax.js
patch
|
blob
|
history
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
18122b9
..
6199270
100644
(file)
--- 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();
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();
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 );
});
test("jQuery.ajax - active counter", function() {
ok( jQuery.ajax.active == 0, "ajax active counter should be zero: " + jQuery.ajax.active );
});