Re: [FileAPI] Updates to FileAPI Editor's Draft

On Tue, Jun 7, 2011 at 10:43 AM, Jian Li <jianli@chromium.org> wrote:
> I have a couple questions regarding abort behavior.
>
> If the reading is completed and the loadend event has been fired, do we want
> to fire loadend event again when abort() method is called?

No

> Do we want to reset error to null or leave it intact when abort() method is
> called?

If called after load/abort/error has fired the calling abort() should
just throw an exception and not alter the FileReader object in any
way.

/ Jonas

Received on Tuesday, 7 June 2011 18:24:22 UTC