On Tue, May 17, 2011 at 2:48 PM, Jonas Sicking <[email protected]> wrote:
> On Tue, May 17, 2011 at 2:42 PM, Eric U <[email protected]> wrote:
>> It was likely just an oversight on my part that they differ.
>> It does seem a bit odd to dispatch error/abort/loadend if aborting
>> with no write in progress, so I favor the FileWriter/FileSaver
>> behavior, but as long as they match, I'm not too bothered.
>
> For what it's worth, FileReader.abort() currently follows what
> XHR.abort() does, which is to do nothing if called in the "wrong"
> state. I.e. no events are aborted and no exceptions are thrown.

Ah, my mistake; I was reading http://www.w3.org/TR/FileAPI/#abort
instead of http://dev.w3.org/2006/webapi/FileAPI/#abort.

Reply via email to