ISSUE-41 - Public View

Does XMLHttpRequest have constants for readyState? No.

State:
CLOSED
Product:
XMLHttpRequest
Raised by:
Anne van Kesteren
Opened on:
2006-03-17
Description:
Robin revised the specification mostly for IDL markup and made the different
states of readyState constants. However, running:

 <script>
  var r = new XMLHttpRequest;
  alert(r.OPEN_STATE)
 </script>

... in Opera and Firefox returns undefined. I'm removing the constants because
of this. This issue is to make sure everyone is aware of that change. (Unless
someone can point out that Internet Explorer does do constants, but given MSDN
that seems unlikely...)

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

Related emails:
  1. ISSUE-41: Does XMLHttpRequest have constants for readyState? No. (from dean+cgi@w3.org on 2006-03-17)
  2. Re: ISSUE-41: Does XMLHttpRequest have constants for readyState? No. (from robin.berjon@expway.fr on 2006-03-17)
  3. Re: ISSUE-41: Does XMLHttpRequest have constants for readyState? No. (from derhoermi@gmx.net on 2006-03-17)
  4. Re: ISSUE-41: Does XMLHttpRequest have constants for readyState? No. (from robin.berjon@expway.fr on 2006-03-17)
  5. Re: ISSUE-41: Does XMLHttpRequest have constants for readyState? No. (from annevk@opera.com on 2006-03-17)

Related notes:

2006-03-21: We don't have constants, resolved in 20 March teleconference