If you execute this code in 1.7, the alert appears and 1.8 it does not:
$.when(
$.ajax({
url: "whatever",
dataType: "json",
beforeSend: function(jqXHR, settings) {
return false;
}
})).done(function(a1) {
alert("this appears in 1.7 but not in 1.8!");
});
I was unable to find anything in the jQuery documentation, the 1.8 release notes, or the jQuery bug tracker that mentions this issue. I'm wondering which behavior is correct and whether someone can provide a link to a bug ticket or Github commit.
Here is a fiddle for this issue: