You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the following code, the onComplete doesn't fire for the last invocation of send() when run on Mac Firefox 9.0.1.
In general, it appears that this error occurs any time you make a repeated call to the same request object.
Note that this is not a server-side problem, because r1 and r2 make identical requests.
window.addEvent("domready", function()
{
var q = new Request.Queue();
var r1 = new Request({
url: 'http://whatever',
onComplete: function() { console.log('finished r1'); },
});
var r2 = new Request({
url: 'http://whatever',
onComplete: function() { console.log('finished r2'); },
});
q.addRequest("r1", r1);
q.addRequest("r2", r2);
// All of these succeeed
r1.send();
r2.send();
r1.send();
// But this fails
r1.send();
});
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/359851-two-repeated-requests-in-request-queue-fails-to-call-oncomplete?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
When running the following code, the onComplete doesn't fire for the last invocation of send() when run on Mac Firefox 9.0.1.
In general, it appears that this error occurs any time you make a repeated call to the same request object.
Note that this is not a server-side problem, because r1 and r2 make identical requests.
The text was updated successfully, but these errors were encountered: