Bug Tracker

Ticket #8428 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

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
Blocking: Blocked by:


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

comment:1 Changed 5 years ago by jaubourg

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

comment:2 Changed 5 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 4 years ago by addyosmani

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

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.