Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5029 closed bug (worksforme)

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:

Description

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.

Regards, Conrado.

Change History (2)

comment:1 Changed 10 years ago by conrado

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.

comment:2 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.