This interface provides access to the event listeners used when uploading data using the  
   
XMLHttpRequest object. 
 
  1.0
 
  50
 
   
 
Introduced
 
Gecko 1.9.1
 
     
 
Inherits from: 
 
nsIDOMEventTarget 
Last changed in Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2)Attributes
| Attribute | Type | Description | 
| onabort |  | A JavaScript function object that gets invoked if the operation is canceled by the user. | 
| onerror |  | A JavaScript function object that gets invoked if the operation fails to complete due to an error. | 
| onload |  | A JavaScript function object that gets invoked when the operation is successfully completed. | 
| onloadend | nsIDOMEventListener | A JavaScript function object that gets invoked when the operation is completed for any reason; it will always follow a an abort,error, orloadevent. | 
| onloadstart |  | A JavaScript function object that gets invoked exactly once when the operation begins. | 
| onprogress |  | A JavaScript function object that gets invoked zero or more times, after the loadstartevent, but before anyabort,error, orloadevents occur. | 
Handling the events
When the handler functions for these events are called, they receive as a parameter a ProgressEvent, which implements the nsIDOMProgressEvent interface.