ISSUE-58 - Public View

XMLHttpRequest.abort() should just reset the object

State:
CLOSED
Product:
XMLHttpRequest
Raised by:
Anne van Kesteren
Opened on:
2006-04-03
Description:
For some reason we resolved that abort() should do:

  Calling this method MUST cancel any network activity for which
  the object is responsible. In addition, UAs MUST then set
  readyState  to 4 (Loaded), call the function defined in
  onreadystatechange and reset the object.

http://groups.google.com/group/mozilla.dev.tech.xml/browse_thread/thread/74257e17b66e68e8/8e0b8aded9bac4a0
points out that only Mozilla has a funny implementation like that where all
other implementations just reset the object. I suggest we change the
specification to:

  Calling this method MUST cancel any network activity for which
  the object is responsible and reset the object.

... of course, we should define somewhere what it means for an object to be
resetted. The authoring guidelines can say something like:

  Some implementations, when calling abort(), set readyState to
  4, call onreadystatechange and reset the object instead of
  resetting the object directly as the specification requires.

Note: Some of these links may be accessible only to W3C Members.

Related emails:
  1. ISSUE-58: XMLHttpRequest.abort() should just reset the object (from dean+cgi@w3.org on 2006-04-03)
  2. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from bzbarsky@mit.edu on 2006-04-03)
  3. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-03)
  4. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from bzbarsky@mit.edu on 2006-04-03)
  5. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-03)
  6. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-03)
  7. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from bzbarsky@mit.edu on 2006-04-04)
  8. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-05)
  9. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-05)
  10. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from cjolif@ilog.fr on 2006-04-05)
  11. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-05)
  12. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-05)
  13. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-06)
  14. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from cjolif@ilog.fr on 2006-04-06)
  15. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-06)
  16. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-06)
  17. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from cjolif@ilog.fr on 2006-04-06)
  18. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-06)
  19. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-07)
  20. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-07)
  21. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from annevk@opera.com on 2006-04-07)
  22. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-10)
  23. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-11)
  24. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-12)
  25. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from bzbarsky@mit.edu on 2006-04-13)
  26. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-13)
  27. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-13)
  28. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-13)
  29. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from cjolif@ilog.fr on 2006-04-13)
  30. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jim@jibbering.com on 2006-04-13)
  31. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from cjolif@ilog.fr on 2006-04-13)
  32. Re: ISSUE-58: XMLHttpRequest.abort() should just reset the object (from jonas@sicking.cc on 2006-04-13)
  33. Minutes - 3 April (from chaals@opera.com on 2006-05-15)

Related notes:

2006-04-04: It was resolved to accept this proposal.