url: url,
ifModified: true,
success: function(data, status) {
- equals(status, "notmodified");
- ok(data == null, "response body should be empty")
+ if ( data === "FAIL" ) {
+ ok(true, "Opera is incapable of doing .setRequestHeader('If-Modified-Since').");
+ ok(true, "Opera is incapable of doing .setRequestHeader('If-Modified-Since').");
+ } else {
+ equals(status, "notmodified");
+ ok(data == null, "response body should be empty")
+ }
start();
}
});
url: url,
ifModified: true,
success: function(data, status) {
- equals(status, "notmodified");
- ok(data == null, "response body should be empty")
+ if ( data === "FAIL" ) {
+ 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")
+ }
start();
}
});