Issue with ajax handlers not being called
I've got an ajax prefilter which defines a success, an error, and a complete function callback onto the jXHR object.
During a successful ajax response I first his the success function callback (as expected), and if I throw an error from within this callback I hit the error callback (again, as expected). However, at this point I would assume my complete callback would be called, yet it never is. Is this by design or does it sound like a bug?
I ran a sanity test by issuing an ajax request to an undefined URL, which throws a 404, and it triggered my error callback and then my complete callback as expected.