Skip to main content

Bug Tracker

Side navigation

#3984 closed bug (fixed)

Opened January 24, 2009 04:07PM UTC

Closed January 06, 2010 05:14PM UTC

XmlHttpRequest.abort() does not fire ajaxStop event

Reported by: klaus Owned by: john
Priority: minor Milestone: 1.4
Component: ajax Version: 1.4a2
Keywords: abort cancel Cc:
Blocked by: Blocking:
Description

The ajaxStop event is not being fired if a request is canceled via XmlHttpRequest abort method.

var xhr = $.ajax(...);
xhr.abort();

Seems to be expected behavior.

Taken from http://ui.jquery.com/bugs/ticket/3903:

"Whenever this happens the variable used for the global ajax count jQuery.active should be decremented or ajaxStop will never be fired."

Attachments (0)
Change History (2)

Changed January 24, 2009 04:44PM UTC by john comment:1

owner: → john

Changed January 06, 2010 05:14PM UTC by john comment:2

milestone: 1.3.21.4
resolution: → fixed
status: newclosed
version: 1.3.11.4a2