ISSUE-91 and ISSUE-92: send() flag

To be able to resolve both ISSSUE-91 and ISSUE-92 I introduced a "send()  
flag" in the CVS edition of the XMLHttpRequest draft. When send() is  
invoked the "send() flag" is set and when that flag is set invoking send()  
or setRequestHeader() raises an INVALID_STATE_ERR exception which seems to  
be consistent with some implementations (notably Internet Explorer) and at  
some point (hopefully) all implementations.

This "new" "send() flag" is only relevant when readyState is 1 (Open).


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 28 September 2006 12:09:51 UTC