Modify ↓
Ticket #1761 (closed bug: wontfix)
ajaxStop is not called, if an ajax-request runs into an exception
| Reported by: | shameister | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If an ajax-request is fired crossdomain the browser stops the request and throws an exception. Here I expect jQuery runs the ajaxStop-method. But this does not happen.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

How so? If an exception has occurred (in that, if we can no longer continue) - that would mean that we would have to handle the cross domain error - but we can't due that, as that information has to be left to the user to handle. If there's an error with your request in initialization then all bets are off as to future performance.