Bug Tracker

Opened 12 years ago

Closed 9 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.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

That code has been removed from $.ajax so I am hoping this is fixed. Reopen with a test case if it isn't.

Note: See TracTickets for help on using tickets.