Skip to main content

Bug Tracker

Side navigation

#5029 closed bug (worksforme)

Opened August 10, 2009 01:43PM UTC

Closed June 13, 2010 04:05PM UTC

getJSON not returning XMLHttpRequest in Firefox 3 or 3.5

Reported by: conrado Owned by:
Priority: minor Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: getJSON XMLHttpRequest Cc:
Blocked by: Blocking:

I've noticed that getJSON doesn't seem to return the XMLHttpRequest object in Firefox 3 or 3.5. It does however work in IE.

When I walk through the code with the Firebug debugger however, it does return it. This is weird.

This probably doesn't affect most people as everyone's probably using the callback to process the data, but if I want to keep the data in the scope getJSON is called, eg. to do more getJSON requests on a REST API, I would have to skip using jQuery Ajax stuff.

I dunno if its Firefox or jQuery that's at fault here.



Attachments (0)
Change History (2)

Changed August 10, 2009 02:16PM UTC by conrado comment:1

just in case someone wants to mention get() to me... I've also just figured out I should be using that instead of getJSON.

So priority is really trivial.

Changed June 13, 2010 04:05PM UTC by dmethvin comment:2

resolution: → worksforme
status: newclosed

Seems like it returns xhr to me; please attach a test case.