Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil). Junte-se a nós e ajude-nos a fazer o trabalho!
Você também pode ler o artigo em English (US).

The abort method aborts the read operation. Upon return, the readyState will be DONE.

Syntax

instanceOfFileReader.abort();

Exceptions

DOM_FILE_ABORT_ERR
Thrown when abort is called while no read operation is in progress (that is, the state isn't LOADING).

Specifications

Specification Status Comment
File API
The definition of 'FileReader' in that specification.
Working Draft Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 7Edge Full support YesFirefox Full support 3.6IE Full support 10Opera Full support 11Safari Full support 6WebView Android ? Chrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 32Opera Android Full support 11Safari iOS Full support 6.1Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Etiquetas do documento e colaboradores

Colaboradores desta página: fscholz, erikadoyle, flimzy, Sebastianz, teoli, Jeremie
Última atualização por: fscholz,