Bug Tracker

Modify

Ticket #5609 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

ajax onreadystate abort

Reported by: tposlins Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.4a1
Keywords: ajax Cc:
Blocking: Blocked by:

Description

Starting with jQuery 1.3.2, the function "onreadystatechange" declared in the function "ajax" has an xhr.abort() call if the input parameter "isTimeout" is set. This is called on successful Ajax calls which clears out the xhr object every time. The setInterval will pass in a value equal to the number of milliseconds late the callback is called which triggers this. From the code, I think the "if" should state (isTimeout == "timeout") since that is what is being passed in in the async section below the declaration of the state change function.

Thanks, Thomas Poslinski

Change History

comment:1 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed
  • Version changed from 1.3.2 to 1.4a1
  • Component changed from unfilled to ajax

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.