W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 29 Sep 2011 15:04:37 +0200
To: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.v2kmlzs664w2qv@annevk-macbookpro.local>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT