W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

[XHR2] Upload events flag

From: Alexey Proskuryakov <ap@webkit.org>
Date: Thu, 12 Mar 2009 17:28:51 +0300
Message-Id: <F11A8230-163C-420E-9173-E1FB013E0FFB@webkit.org>
To: public-webapps@w3.org

What is the meaning of upload events flag in XMLHttpRequest 2?

Its definition is that it "is used in the send() algorithm to  
determine whether upload progress events will be dispatched for non  
same origin requests." However, it is only set by send, and is only  
used for passing in cross-origin request algorithm as force preflight  

If the current text accurately describes how this flag is supposed to  
work, I'd suggest an editorial change that will remove it, and say  
want to pass to CORS directly. However, my understanding is that it  
might in fact need to prevent dispatching progress events even in case  
a listener gets added after invoking CORS. Was that the intention?

- WBR, Alexey Proskuryakov
Received on Thursday, 12 March 2009 14:29:30 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:14 UTC