Bug Tracker

Ticket #8193 (closed bug: fixed)

Opened 5 years ago

Last modified 3 years ago

ajaxPrefilter jqXHR.abort() doesn't work

Reported by: industral Owned by:
Priority: high Milestone: 1.5.1
Component: ajax Version: 1.5
Keywords: Cc:
Blocking: Blocked by:


jqXHR.abort() in $.ajaxPrefilter doesn't work as should be. In fact, abort method just stop passing json data further, but it does a call to a server and get real response, but it shoudn't... As a fix, I use

      beforeSend: function(jqXHR, settings) {

to really abort ajax request to a server.

Change History

comment:1 Changed 5 years ago by jitter

  • Priority changed from undecided to high
  • Resolution set to fixed
  • Status changed from new to closed
  • Component changed from unfiled to ajax
  • Milestone changed from 1.next to 1.5.1

Thanks for taking the time to contribute to the jQuery project by writing a bug report.

As you didn't provide a test case as described in:  How to report bugs, I went ahead and made up this  live test case.

This was in fact a bug in jQuery 1.5 and has already been fixed for 1.5.1 in this

Changeset:  03bad0a9600f05e61a1464c55354d26fcd8f97a4

You can verify that with this  test case

Note: See TracTickets for help on using tickets.