[XHR2] Editor's draft of XMLHttpRequest level 2

Hi,

   http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html

is the editor's draft of XMLHttpRequest level 2. It has definitions for  
send(in ByteArray data), responseBody and overrideMimeType and defines  
when several of the new events (loadstart, progress, abort, error, load)  
are to be dispatched on the XMLHttpRequest object. It also includes  
support for text/html responses in responseXML.

It does not yet define how the new events work with the upload attribute  
of the XMLHttpRequest that returns an XMLHttpRequestUpload object. It does  
not yet define cross-site requests. It does not yet define when the  
redirect event is to be dispatched and what its exact semantics are. I  
probably missed something here.

It includes a proposal (although all additions are essentially proposals)  
for a new constructor: new XMLHttpRequest(method, url), but it has been  
argued that this is not really beneficial as it only saves one method call  
although it might encourage people to use the synchronous API less.

Feedback welcome!

Kind regards,


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

Received on Thursday, 2 August 2007 13:54:30 UTC