W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

[XHR2] abort event when calling abort()

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 17 Nov 2008 17:33:43 -0800
Message-ID: <49221B77.7070401@sicking.cc>
To: Webapps WG <public-webapps@w3.org>

Currently the spec says to fire an 'abort' event every time abort() is 
called, no matter what the current state is. This means that if you call 
abort() back to back five times you'll get five abort events.

This does match what Firefox does, however it seems to go against both 
logic and the ProgressEvent spec.

Is there a reason to not just fire the abort event when we are in fact 
aborting a network transfer?

Same thing applies partially to the abort event fired on the upload object.

/ Jonas
Received on Tuesday, 18 November 2008 01:31:34 UTC

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