Ticket #6638 (closed bug: invalid)
$.ajax complete function is not fired if success / error functions throw errors
|Reported by:||snover||Owned by:|
Once an ajax request has completed, if an error is thrown from the success or error functions, the complete function does not fire. I am not sure if this is intended behaviour or not, but it would seem to me that there is no real reason not to ensure complete is dispatched too.
Additionally, in Firefox (tested in 3.5.9 with Firebug 1.4.5 and 3.6.3 with Firebug 1.5.4), these uncaught errors are silently discarded, which makes debugging kinda hard. Chrome and Safari display the errors properly.
- Keywords needsreview,ajaxrewrite added; needsreview ajaxrewrite removed
- Keywords needsreview ajaxrewrite added; needsreview,ajaxrewrite removed