This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22809 - 'error' progress event is never fired
Summary: 'error' progress event is never fired
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: XHR (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-26 08:31 UTC by Chris Dumez
Modified: 2013-07-26 16:16 UTC (History)
3 users (show)

See Also:


Attachments

Description Chris Dumez 2013-07-26 08:31:06 UTC
The 'error' progress event (http://xhr.spec.whatwg.org/#event-xhr-error) is never fired in the specification.

However, a progress event named 'event' is fired several times in these steps:
http://xhr.spec.whatwg.org/#request-error

I think this may be a typo and that event should be named 'error' not 'event'.
Comment 1 Hallvord R. M. Steen 2013-07-26 15:15:35 UTC
At this point in the algorithm, the word "event" (in italics) is a variable that might be "error", "timeout" etc. Hence it does indeed sometimes indicate that the error event fires.
Comment 2 Chris Dumez 2013-07-26 16:16:21 UTC
Oh right, my bad. I understand now. Thanks for the explanation.