W3C home > Mailing lists > Public > public-webapi@w3.org > September 2006

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

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 28 Sep 2006 14:09:34 +0200
To: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.tgk7180664w2qv@id-c0020>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT