Bug Tracker

Ticket #2608 (new bug)

Opened 7 months ago

jQuery.httpSuccess returns success on iPhone Safari even when server cannot be contacted

Reported by: hawkman Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.4 Component: ajax
Version: 1.2.3 Keywords:
Cc: Needs: Review

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.

Attachments

Note: See TracTickets for help on using tickets.