Bug Tracker

Modify

Ticket #5839 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

exception string not passed to error handlers in onreadystatechange fn

Reported by: malsup Owned by:
Priority: major Milestone: 1.4.1
Component: ajax Version: 1.4
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by malsup) (diff)

The call to jQuery.handleError in the onreadystatechange function does not pass exception string that may have been thrown from jQuery.httpData.

Test case:  http://jquery.malsup.com/test/ajax.html

This is especially relevant given the new strict json parsing model.

Change History

comment:1 Changed 3 years ago by malsup

  • Description modified (diff)

comment:2 Changed 3 years ago by malsup

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

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.