Bug Tracker

Opened 6 years ago

Closed 5 years ago

#8428 closed bug (fixed)

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:


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.

Change History (3)

comment:1 Changed 6 years ago by jaubourg

  • Component changed from unfiled to ajax
  • Keywords needsdocs added
  • Priority changed from undecided to low

comment:2 Changed 6 years ago by jaubourg

  • Owner set to kswedberg
  • Status changed from new to assigned

Assigning to Karl so that he can track this.

comment:3 Changed 5 years ago by addyosmani

  • Cc jaubourg added
  • Keywords neededdocs added; needsdocs removed
  • Resolution set to fixed
  • Status changed from assigned to closed

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?.

Note: See TracTickets for help on using tickets.