[XHR] Progress Events and open() / send() / abort()

So apparently there is some disagreement on how the combination of  
progress events and open() / send() / abort() are handled.

Currently if you invoke open() from e.g. the event handler for the abort  
event, loadend will not be dispatched, and abort and loadend will not be  
dispatched on XMLHttpRequestUpload.

Something similar will happen if you invoke open() from the event handler  
for the error event.


Should we introduce a flag that makes invocations to open() from event  
handlers ignored?


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Thursday, 29 September 2011 13:05:12 UTC