[whatwg] XMLHttpRequest - Web App 1.0 (2005-06-14)

Hi,

I've sent a comment on XMLHttpRequest to the WHATWG mailing list, but maybe
this is a more appropriate place.

I think one should not be allowed to call open() in all readyStates (as the
current specification suggests). This initialization of the request makes
sense only in three states (IMHO):

  0 (first init or re-init after abort)
  1 (re-init after a successful open())
  4 (re-init after completed request)

So, the following statement should be added to the specification for open():

"If the readyState attribute has a value other than 0 (Uninitialized), 1
(Open) or 4 (Loaded), raises an exception. [...]"

bye, Thomas

-- 
iCab Internet Browser - Worldwide Your Guide
<http://www.icab.de> <mailto:support at icab.de>

Received on Monday, 20 June 2005 02:56:01 UTC