Bug Tracker

Modify

Ticket #2608 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.