Skip to main content

Bug Tracker

Side navigation

#8428 closed bug (fixed)

Opened March 03, 2011 02:04AM UTC

Closed June 13, 2011 06:03AM UTC

ajax.timeout documentation should mention the xhr object is in an invalid state

Reported by: anonymous Owned by: kswedberg
Priority: low Milestone: 1.next
Component: ajax Version: 1.4.3
Keywords: neededdocs Cc: jaubourg
Blocked by: Blocking:
Description

For jQuery releases that return an XMLHttpRequest object (instead of 1.5's jqXHR object), the documentation for the timeout property should mention that the xhr object will be in an invalid state if the request times out, and the simple act of accessing some (all?) members will throw an error.

If this is the case for the jqXHR object as well (I don't know, haven't tested), the documentation should reflect it.

Attachments (0)
Change History (3)

Changed March 03, 2011 01:57PM UTC by jaubourg comment:1

component: unfiledajax
keywords: → needsdocs
priority: undecidedlow

Changed March 03, 2011 05:26PM UTC by jaubourg comment:2

owner: → kswedberg
status: newassigned

Assigning to Karl so that he can track this.

Changed June 13, 2011 06:03AM UTC by addyosmani comment:3

cc: → jaubourg
keywords: needsdocsneededdocs
resolution: → fixed
status: assignedclosed

Docs for this have been updated: http://api.jquery.com/jQuery.ajax/ - @jaubourg, could you review the changes under timeout and let us know if we're missing anything else that should be included relating to this ticket?.