Ticket #3858 (closed bug: wontfix)
weird jQuery 1.3 ajax difference in behavior
|Reported by:||shadedecho||Owned by:||flesler|
First, let me say a big congrats to all the jQuery devs for their excellent work on jQuery 1.3 (and happy third birthday!). I'm very excited about this release.
I've noticed a problem with some of my jQuery ajax code when going from 1.2.6 to 1.3. I've got two URL's which demonstrate the different behavior.
Moreover, the difference in behavior seems to be related to what domain is in the address bar. So, to test and demonstrate this, I've set it up so the following URL's can be visited each with two different domains, so you can see the different behavior just based on the browser address bar domain (page-domain).
These examples exploit substituting in flXHR ( http://flxhr.flensed.com/) as a replacement XHR object (means it speaks the same API), and so it shouldn't be a problem with it speaking that API wrongly or not being adapted properly.
http://www.flensed.com/code/dev-tests/flxhr-jquery-126.html (1.2.6-patched, works)
http://flxhr.flensed.com/code/dev-tests/flxhr-jquery-126.html (1.2.6-patched, works)
http://flxhr.flensed.com/code/dev-tests/flxhr-jquery-13.html (1.3, fails! the request fails silently and never finishes).
Now, I know that the temptation will be to say this is something with flXHR misbehaving (what I assumed at first), but consider that all 4 URL's above use the exact same version of flXHR (and everything else), and the only thing that changes from success and causes the failure between the 2nd URL (which works) and the 4th URL (which fails) is jQuery 1.2.6 versus 1.3. Also, notice that the 3rd URL works with jQuery 1.3.
The failure, as I've tracked it so far, is that a request seems to get sent off exactly the same as in the working examples, but the request only gets to state 3, and never finishes. This is as far as I've been able to diagnose so far.
Does anyone have any idea what might have changed with 1.3 that would be causing this weird never-finishing request behavior? Can anyone help me figure it out?
- Owner set to ariel
- Version set to 1.3
- Milestone changed from 1.3 to 1.3.1