The It is an opaque object, but being an
upload property returns an
object that can be observed to monitor the progress of an upload.
, event listeners can be set on it to track its process.
The following events can be triggered on an upload object and used to monitor the state of the upload process:
The upload has begun.
Periodically delivered to indicate the current amount of progress made so far
The upload operation was aborted.
The upload failed due to an error.
The upload completed successfully.
The upload timed out because an awaited reply did not arrive within the time interval specified by the
property on the
The upload completed; this event does not differentiate between success or failure, and is sent at the very end of the upload process, regardless of the outcome. Prior to this event being sent, one of
timeout will already have been delivered to indicate why the upload is ending.
Living Standard WHATWG living standard
Feature Chrome Edge Firefox Internet Explorer Opera Safari Basic support 1
Feature Android webview Chrome for Android Edge mobile Firefox for Android Opera Android iOS Safari Samsung Internet Basic support
Document Tags and Contributors
Last updated by:
Mar 6, 2018, 8:00:07 AM