Bug Tracker

Opened 15 years ago

Closed 15 years ago

#1546 closed bug (fixed)

sending Document as $.ajax() data parameter breaks in 1.1.4

Reported by: amartone Owned by:
Priority: major Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: ajax xml document xmlhttprequest Cc:
Blocked by: Blocking:


With jQuery, I was sending an XML document as the data parameter (along with processData set to false) to several $.ajax() PUT and POST calls. However, I'm getting an exception with 1.1.4 inside jQuery.extend at line 358. I changed that line to not try to iterate over prop if it is an XML document, however I'm not aware of any other side-effects:

if (((prop = arguments[a]) != null) && (prop.nodeType !== 9))

According to the W3C, XmlHttpRequest.send should support documents:


Change History (1)

comment:1 Changed 15 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [3669].

Note: See TracTickets for help on using tickets.