Skip to main content

Bug Tracker

Side navigation

#1546 closed bug (fixed)

Opened August 28, 2007 02:30PM UTC

Closed October 17, 2007 11:36PM UTC

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:
Description

With jQuery 1.1.3.1, 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:

http://www.w3.org/TR/XMLHttpRequest/#dfn-send

Attachments (0)
Change History (1)

Changed October 17, 2007 11:36PM UTC by john comment:1

milestone: 1.21.2.2
resolution: → fixed
status: newclosed
version: 1.1.41.2.1

Fixed in SVN rev [3669].