Opened 15 years ago
Closed 12 years ago
#2608 closed bug (invalid)
jQuery.httpSuccess returns success on iPhone Safari even when server cannot be contacted
Reported by: | hawkman | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | ajax | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a server cannot be contacted through XMLHttpRequest, Mobile Safari (on iPhone firmware 1.1.3, other versions unknown) returns the status as undefined - this breaks jQuery.httpSuccess (in 1.2.3, and some earlier versions) as it specifically tests for Safari + undefined and calls that a success.
Note: See
TracTickets for help on using
tickets.
That code has been removed from $.ajax so I am hoping this is fixed. Reopen with a test case if it isn't.