Skip to main content

Bug Tracker

Side navigation

#11575 closed bug (invalid)

Opened April 10, 2012 12:15PM UTC

Closed April 25, 2012 08:27AM UTC

Last modified April 25, 2012 07:15PM UTC

Cross-Domain ajax request error handler does not get called in Firefox 11

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

I have the following AJAX JSONP request, to a third-party free webservice (success and error actions simplified):

          type: 'get',
          url: '',
          dataType: 'jsonp',     
          success: function(data) {
          error: function(data) {

If the call fails (404 for instance), the error callback is not invoked in Firefox 11. In Chrome, Safari (Windows) and IE9 the callback is invoked properly.

Also, in the Firebug tools, the 404 response is visible.

To workaround this, the 'timeout' parameter needs to be added. With the timer parameter present, the error callback is fired normally, after the timeout has elapsed

The behaviour has always been reproduced under Firefox 11 (several computers as well) with the above AJAX request

Attachments (0)
Change History (3)

Changed April 10, 2012 12:38PM UTC by sindresorhus comment:1

owner: →
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: Open the link and click to "Fork" (in the top menu) to get started.

Changed April 25, 2012 08:27AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed April 25, 2012 07:15PM UTC by comment:3

Issue is no longer present in Firefox 12.

Also, good work jQuery team!