This project is archived and is in readonly mode.

#614 ✓resolved

xhr.onreadystatechange cleared too late in request

Reported by akc42 | March 10th, 2009 @ 08:14 PM | in 1.2.3

The xhr.onreadystatechange is cleared in a request as the last statement. This is after the onSuccess or onFailure call backs have been called.

If somewhere in the path of a call back a further call to THIS request is made, then even if it is chained it is not queued (since this.running has already been set to false) and so is started. However as soon as this callback finishes, xhr.onreadstatechange is cleared, meaning that when this second request completes nobody notices.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Referenced by