Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

FileRequest

Este artigo precisa de uma revisão técnica. Como pode ajudar.

Os nossos voluntários ainda não traduziram este artigo para Português (Europeu) . Junte-se a nós e ajude-nos a fazer o trabalho!

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Summary

The FileRequest interface extends the DOMRequest interface to provide some extra properties necessary for the LockedFile objects.

Properties

FileRequest.lockedFile Read only
The LockedFile object from which the request was started.
FileRequest.onprogress
A callback handler called repeatedly while the operation represented by the FileRequest is in progress.

The FileRequest interface also inherits from the DOMRequest interface.

DOMRequest.onsuccess
A callback handler called when the operation represented by the DOMRequest is completed.
DOMRequest.onerror
A callback handler that gets called when an error occurs while processing the operation.
DOMRequest.readyState
A string indicating whether or not the operation is finished running. Its value is either "done" or "pending".
DOMRequest.result
The operation's result.
DOMRequest.error
Error information, if any.

Methods

None.

Specifications

Specification Status Comment
FileSystem API Editor's Draft Draft proposal.

See also

Etiquetas do documento e colaboradores

 Colaboradores para esta página: Jeremie, fscholz, kscarfone
 Última atualização por: Jeremie,